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
Given an array arr[] and a number of queries, where in each query we have to check whether a subset whose sum is equal to… Read More
Given an array of both positive and negative integers, the task is to compute sum of minimum and maximum elements of all sub-array of size… Read More
This article will introduce you to a method of measuring the execution time of your python code snippets. We will be using an in-built python library… Read More
Mersenne Prime is a prime number that is one less than a power of two. In other words, any prime is Mersenne Prime if it… Read More
Given a maze with obstacles, count the number of paths to reach the rightmost-bottommost cell from the topmost-leftmost cell. A cell in the given maze… Read More
Given an array of n integers where each value represents the number of chocolates in a packet. Each packet can have a variable number of… Read More
Given a binary matrix that is, it contains 0s and 1s only, we need to find sum of coverage of all zeros of the matrix… Read More
This article is aimed at giving a Java implementation for pattern printing.  Simple pyramid pattern Java import java.io.*;   // Java code to demonstrate star… Read More
Given a Binary search Tree that contains positive integer values greater than 0. The task is to check whether the BST contains a dead end… Read More
This article discusses how you can create a CLI for your python programs using an example in which we make a basic “text file manager”. Let… Read More
Given an array arr[] of positive integers. The task is to find minimum sum subsequence from the array such that at least one value among… Read More
Many of us will be unaware of this difference which is really important to understand during development. The possible answer to this question, if asked,… Read More
For the statement given below, mark the part of the statement that contains an error. If there is no error mark choice d. From 1982… Read More
The aim of this program is to let users mail/message on FB/SMS anyone using Terminal. The full project can be found here. So, first of… Read More
memset() is used to fill a block of memory with a particular value. The syntax of memset() function is as follows : // ptr ==>… Read More

Start Your Coding Journey Now!