Skip to content
Gblog SDE SHEET – A Complete Guide for SDE Preparation
What is SDE Sheet? SDE Sheet is a list of the most important topics or the most popular questions that are asked in the Software… Read More
There are two variants of descending() in Java.util.TreeMap, both are discussed in this article. 1. descendingKeySet(): It returns a reverse order Navigable Set view of… Read More
Prerequisites – Stop & Wait, Go Back N, Selective Repeat Summary of all the protocols – Before starting with the questions a quick recap for… Read More
Given an array of size n. The task is to find the longest subsequence such that difference between adjacents is one. Time Complexity of O(n)… Read More
Given n strings that are permutations of each other. We need to make all strings same with an operation that takes front character of any… Read More
is_trivial function is used to check whether the given type T is a trivial class or not. It is a template is declared in <type_traits>… Read More
There are two variants of ceilingEntry() in Java.util.TreeMap, both are discussed in this article. 1. ceilingEntry(K Key) : It is used to return a key-value… Read More
Signals are the interrupts that force an OS to stop its ongoing task and attend the task for which the interrupt has been sent. These… Read More
Prerequisite : Static blocks, Initializer block, Constructor In a Java program, operations can be performed on methods, constructors and initialization blocks. Instance Initialization Blocks :… Read More
Wget is the non-interactive network downloader which is used to download files from the server even when the user has not logged on to the… Read More
Given a series 9, 33, 73, 129… Find the n-th term of the series.Examples:   Input : n = 4 Output : 129 Input : n… Read More
We are given a string and we need to remove all duplicates from it? What will be the output if the order of character matters?… Read More
Given a non-negative number n and two values l and r. The problem is to count the number of set bits in the range l… Read More
Matrix multiplication is an operation that takes two matrices as input and produces single matrix by multiplying rows of the first matrix to the column… Read More
Given an array of n integers and q queries, print the number of next greater elements to the right of the given index element. Examples:  Input:… Read More
The greatest common divisor (GCD) of two or more numbers, which are not all zero, is the largest positive number that divides each of the… Read More

Start Your Coding Journey Now!