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
In C, programmers totally control allocation and deallocation of dynamically created objects. And if a programmer does not destroy objects, memory leak happens in C,… Read More
Given a matrix of 2D array of n rows and m columns. Print this matrix in ZIG-ZAG fashion as shown in figure.   Example:   Input: 1… Read More
You are given an array of n-elements and an odd-integer m. You have to construct a new sum_array from given array such that sum_array[i] =… Read More
Honeywell visited our campus for Software Development profile. Almost all branches were eligible. 1. First round was online test with 45 MCQs, MCQs were based… Read More
Given a binary string of 0s and 1s. The task is to find the maximum difference between the number of 0s and number of 1s… Read More
Given a class interval and frequency distribution and the task is to find Arithmetic mean. In case of frequency distribution the raw data is arranged… Read More
Given two numbers, the task is to use alternative bits within two numbers to create result. We take first bits of second number, then second… Read More
A person starts walking from position X = 0, find the probability to reach exactly on X = N if she can only take either… Read More
Given a string, find concatenation of all substrings in lexicographic order.Examples:   Input : s = “abc” Output : aababcbbcc The substrings of s in lexicographic order are… Read More
There are two gates. One goes to hell and the other goes to heaven. The gatekeeper asks a puzzle to Sahil in order to decide… Read More
This built-in function of PHP is used to exchange elements within an array, i.e., exchange all keys with their associated values in an array and… Read More
Python’s memory allocation and deallocation method is automatic. The user does not have to preallocate or deallocate memory similar to using dynamic memory allocation in… Read More
Given an array and a range [lowVal, highVal], partition the array around the range such that array is divided in three parts. 1) All elements… Read More

Start Your Coding Journey Now!