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
Iterator Pattern is a relatively simple and frequently used design pattern. There are a lot of data structures/collections available in every language. Each collection must… Read More
You are on the side of the river. You are given a m liter jug and a n liter jug where 0 < m <… Read More
Prerequisite – Binary Heap   K-ary heaps are a generalization of binary heap(K=2) in which each node have K children instead of 2. Just like binary… Read More
The following is the explanation to the C++ code to play a video in C++ using the tool OpenCV. Things to know: (1) The code will… Read More
What is an opaque pointer? Opaque as the name suggests is something we can’t see through. e.g. wood is opaque. Opaque pointer is a pointer… Read More
Identifying languages (or problems*) as decidable, undecidable or partially decidable is a very common question in GATE. With correct knowledge and ample experience, this question… Read More
Hello friends, I am going to share my interview experience about GE(General Electric) (for computer science candidates) First round(written round): The first round was of… Read More
A king dies after writing an agreement to divide the elephant power to his three sons, the first son has to get 1/2 of elephants,… Read More
Given a Binary Tree, find density of it by doing one traversal of it.  Density of Binary Tree = Size / Height Examples:  Input: Root… Read More
Given a rectangular cardboard with a rectangular piece removed(of any size and orientation) how one can cut the rectangular cardboard in two equal parts with… Read More
Annotations are used to provide supplemental information about a program.  Annotations start with ‘@’. Annotations do not change the action of a compiled program. Annotations… Read More
A team of three people decide on a strategy for playing the following game. Each player walks into a room. On the way in, a… Read More
All data structure has its own special characteristics, for example, a BST is used when quick searching of an element (in log(n)) is required. A… Read More
This is the main forum where I did all my preparation. Thanks a lot GeeksForGeeks! Here’s giving back. I had got a call from the… Read More
Given a Binary Tree, convert it into Doubly Linked List where the nodes are represented Spirally. The left pointer of the binary tree node should… Read More

Start Your Coding Journey Now!