Gblog Bi-Wizard School Coding Tournament By GeeksforGeeks – For Class 8-12 Students
Bi-Wizard School Coding Tournament by GeeksforGeeks – ‘Coding is the New Literacy’ and no one can deny this fact! And especially, when it comes to… Read More
Given a binary tree, find the largest subtree having identical left and right subtree. Expected complexity is O(n). For example,  Input: 50 / \ 10… Read More
The Arrays class in java.util package is a part of the Java Collection Framework. This class provides static methods to dynamically create and access Java… Read More
Gabbar and his Sambha are fond of playing number games. But as usual, if Sambha loses the game, he dies. Gabbar and Sambha take their turn to call out a number between 1 to n. They follow the following rules while playing the game: Anyone of them can start the game by calling a number between 1 to 10. The person who’s chance in next, should must call a number by increasing the last number by 1 to 10,  both inclusive. Whosoever, from Gabbar and Sambha calls out “101” first wins. Sambha tries to win this game, as it’s the run… Read More
Given a square maze containing positive numbers, find all paths from a corner cell (any of the extreme four corners) to the middle cell. We… Read More
Motivation To approximate the shortest path in real-life situations, like- in maps, games where there can be many hindrances.We can consider a 2D Grid having… Read More
Given an integer array, find number of ways to calculate a target number using only array elements and addition or subtraction operator. Example:  Input: arr[]… Read More
Object cloning refers to the creation of an exact copy of an object. It creates a new instance of the class of the current object… Read More