Convert Binary to Decimal number in Java. ORWrite a program to convert Binary to Decimal number in Java.
Given a Binary number, Convert it to Decimal number.
Lets see what is the input and expected output.
...
Home
»
Archives for February 2017
Convert Binary to Decimal number
in
Algorithm,
Bit Manipulation,
Interviews,
Java
- on 00:54:00
- No comments
Check whether Binary Tree is foldable or not.
in
Algorithm,
Binary Tree,
Datastructure,
Interviews
- on 02:06:00
- No comments

Given a binary tree, Check if tree can be folded or not?Java Program to Check whether Tree is foldable.
Check whether given binary tree can be folded or not.
Lets see what is the input and expected output for better understanding on Foldable Binary...
Print Fibonacci series using Recursive approach in Java
in
Interviews,
Java,
Miscellaneous
- on 00:59:00
- No comments

Java Program to Print Fibonacci Series upto K Number.
In this post we will see how to Print Fibonacci series using Recursive approach in Java.
Example:
Java program to print fibonacci series up to a given number k.
Input ...
Print Fibonacci series using Iterative approach in Java
in
Interviews,
Java,
Miscellaneous
- on 00:54:00
- No comments

Java Program to Print Fibonacci Series upto K Number.
In this post we will see how to Print Fibonacci series using Iterative approach in Java.
Example:
Java program to print fibonacci series up to a given number k.
Input ...
Fibonacci series Iterative and Recursive program in Java
in
Interviews,
Java,
Miscellaneous
- on 21:14:00
- No comments

Java Program to print Fibonacci series. OR Java Program to Print Fibonacci Series upto K Number. ORIterative Program to print Fibonacci series. ORRecursive Program to print Fibonacci series.
What is Fibonacci Series?
Fibonacci series is series of...
Check if two nodes are cousins in a Binary Tree
in
Algorithm,
Binary Tree,
Datastructure,
Interviews
- on 11:18:00
- No comments

Given two nodes in a binary tree, check if they are cousins.
Given the binary Tree and the two nodes say ‘p’ and ‘q’, determine whether the two nodes are cousins of each other or not.
Two nodes are cousins if,
They are not siblings (Children of...
Find Height of node in Binary tree in Java
in
Algorithm,
Binary Tree,
Datastructure,
Interviews
- on 20:21:00
- No comments

Get Height of Node in Binary Tree.
Given a binary tree, Find the height of a given node in Binary tree.
Let's understand what is the input and expected output.
...
Get Level of node in Binary Tree in Java.
in
Algorithm,
Binary Tree,
Datastructure,
Interviews
- on 20:13:00
- No comments

Get Level of node in Binary Tree
Given a binary tree, you need to find level of a given node in the binary tree.
Let's understand what is the input and expected output.
...
Get Level/Height of node in binary tree
in
Algorithm,
Binary Tree,
Datastructure,
Interviews
- on 20:38:00
- No comments

Get Level of node in Binary Tree. ORGet Height of Node in Binary Tree.
Given a binary tree, you need to find the height of a given node in the tree.
Finding level of node of binary tree is equivalent to finding Height of node of binary tree.
Let's...