Skip to content
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
Once upon a time Tom and Jerry thought of having a race on a circular track. The diameter of the track was 200 yards.   They… Read More
Round 1: Q1. Implement memcpy function. How do you make compiler to give warning if user passes nomberOfBytes less then equal to zero. Q2. Write… Read More
Background An NFA is typically described using a directed graph. Each edge and vertex is labeled either 0 or 1 representing possible transitions. Vertices represent… Read More
Given a tree (not necessarily a binary tree) and a number of queries such that every query takes two nodes of the tree as parameters.… Read More
A Diophantine equation is a polynomial equation, usually in two or more unknowns, such that only the integral solutions are required. An Integral solution is… Read More
Scope of a variable is the part of the program where the variable is accessible. Like C/C++, in Java, all identifiers are lexically (or statically)… Read More
Given a string containing of ‘0’, ‘1’ and ‘?’ wildcard characters, generate all binary strings that can be formed by replacing each wildcard character by… Read More
Introduction As the name suggests, Classification is the task of “classifying things” into sub-categories. But, by a machine! If that doesn’t sound like much, imagine… Read More

Start Your Coding Journey Now!