Factorial of Number using Recursion in Java

Factorial of Number using Recursion in Java
Find Factorial of Number. ORJava Program to Find Factorial of Number. ORRecursive Program to find Factorial of Number. A factorial is a function that multiplies a number by every number below it. Factorial of 5 5! = 5 * 4 * 3 * 2 * 1 = 120. Factorial...

Print Matrix Diagonally OR Diagonal order of Matrix.

Print Matrix Diagonally OR Diagonal order of Matrix.
Print Matrix Diagonally. ORLoop diagonally through two dimensional array. ORTraverse an array diagonally. ORPrint elements of Matrix in Diagonal order. Given a Matrix / 2D array, Print all elements of Matrix in Diagonal order. Lets understand Diagonal...

Find a Saddle point in Matrix

Find a Saddle point in Matrix
Find Saddle point in a matrix Given a matrix of n x n size, Find saddle point of matrix. What is Saddle point of Matrix? Element is said to be Saddle point of Matrix if it is both a minimum of its row and a maximum of its column or vice versa....

Print nodes at K distance from Leaf node in Binary tree.

Print nodes at K distance from Leaf node in Binary tree.
Print nodes at K distance from Leaf in binary tree. ORPrint all nodes that are at distance k from a leaf node. Given a Binary Tree, Print all Nodes that are at K distance from leaf node in Binary Tree. Lets understand what will be input and expected...
Page 1 of 2812345...28Next »