Open in app
Home
Notifications
Lists
Stories

Write
Anil Thirunagari
Anil Thirunagari

Home

Mar 11

This time we got correct outputs for both Example 5.1 & 5.2 . Hence we should always try to use String constructor of BigDecimal class as much as possible where each digit of decimal part are important.

Why we should use BigDecimal instead double in java for financial systems
49
1

Rashid Ahamed

note

note

1 min read

note

--

--


Published in DS Algo for novice

·Feb 27

Tree || Level Order || populate next node, perfect binary tree

Populating Next Right Pointers in Each Node - LeetCode You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The…leetcode.com You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. Populate each next pointer to point to its next right node. If there is no next right node, the next pointer should be set to NULL. …

Bfs

5 min read

Tree || Level Order || populate next node, perfect binary tree
Tree || Level Order || populate next node, perfect binary tree

Published in DS Algo for novice

·Dec 24, 2021

Ugly Number (Leetcode)

An ugly number is a positive integer whose prime factors are limited to 2, 3, and 5. Given an integer n, return true if n is an ugly number. Constraints: -2^31 <= n <= 2^31 - 1 Reference:- https://leetcode.com/problems/ugly-number/

Ugly Number

1 min read

Ugly Number (Leetcode)

An ugly number is a positive integer whose prime factors are limited to 2, 3, and 5. Given an integer n, return true if n is an ugly number.

Constraints: -2^31 <= n <= 2^31 - 1

Reference:-

https://leetcode.com/problems/ugly-number/

--

--


Dec 11, 2021

CVE-2021–4104 CVE-2021–44228 CVE-2021–45046 Log4j 2 Vulnerability spring boot fix

The complete list of flaws discovered to date in the logging framework after the original remote code execution bug was disclosed is as follows — CVE-2021–44228 (CVSS score: 10.0) — A remote code execution vulnerability affecting Log4j versions from 2.0-beta9 to 2.14.1 (Fixed in version 2.15.0) CVE-2021–45046 (CVSS score: 9.0)…

Log 4 J 2

4 min read


Jul 4, 2021

>netstat -ano | findstr 8080

How to Force Kill a windows process running on port 8080
13
1

gautham

useful

useful

1 min read

useful

--

--


Published in CSS made easy for backend developers

·May 29, 2021

CSS Selectors: Type Selectors

Below are the CSS Type selectors we are going to learn. # The Element Selector # The Class Selector # The ID Selector # Grouping Selectors Below is a sample HTML file with some tags <html> <head></head> <body> <h1> This is header </h1> <p class=”info”>Some paragraph class info</p> <p id=”warning”>Dont…

Css Type Selectors

2 min read

CSS Selectors: Type Selectors
CSS Selectors: Type Selectors

May 28, 2021

Alternate phrases for Thank you, Welcome, Sorry, Happy, Boring

Use below alternate phrases for Thank you, Welcome, Sorry, Happy, Boring “Thanks to Chetna ChetChat” 5. THANK YOU “YOU ARE A LIFESAVER” when someone helps you get out of a difficult situation. “YOU ROCK”, “YOU ARE THE BEST” when someone does something significant and unexpected. “WHAT WOULD I DO…

English Conversation

2 min read


Apr 21, 2021

Natural way to be disease-free [Nauli Kriya]

As most of the diseases arising out of the stomach, nauli kriya is a great way to strengthen and be disease-free from the inside out. Nauli is one of the six Shatkarmas, purifications used in traditional hatha yoga. 1. Kapalabhati [breathe rapidly] 2. Tratak [gaze at point until eyes water] …

Nauli Kriya

3 min read

Natural way to be disease-free [Nauli Kriya]
Natural way to be disease-free [Nauli Kriya]

Jan 27, 2021

Sonar: Control flow statements “if”, “for”, “while”, “switch” and “try” should not be nested too deeply

Fixing “Refactor this code to not nest more than 3 if/for/while/switch/try statements.” Sonar: Control flow statements “if”, “for”, “while”, “switch” and “try” should not be nested too deeply JAVA: NestedIfDepth Nested if, for, while, switch and try statements is a key ingredient for making what’s known as “Spaghetti code”. …

Sonar

1 min read


Published in DS Algo for novice

·Dec 9, 2020

Tower of Hanoi (Recursive and Iterative approach)

The Tower of Hanoi (also called the Tower of Brahma or Lucas’ Tower[1] and sometimes pluralized as Towers) is a mathematical game or puzzle. It consists of three rods and a number of disks of different sizes, which can slide onto any rod. The puzzle starts with the disks in…

Tower Of Hanoi

4 min read

Tower of Hanoi (Recursive and Iterative approach)
Tower of Hanoi (Recursive and Iterative approach)
Anil Thirunagari

Anil Thirunagari

Following
  • Ossiana Tepfenhart

    Ossiana Tepfenhart

  • Ankur Kumar

    Ankur Kumar

  • javinpaul

    javinpaul

  • Neeraj Kushwaha

    Neeraj Kushwaha

  • Sai Ashish

    Sai Ashish

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable