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 of N elements and L and R, print the number of sub-arrays such that the value of the maximum array element in… Read More
Given three numbers x, y and p, compute (x^y) % p Examples: Input: x = 2, y = 3, p = 5 Output: 3 Explanation:… Read More
Python String isalpha() method is a built-in method used for string handling. The isalpha() methods returns “True” if all characters in the string are alphabets,… Read More
fesetround() It sets the specified floating point rounding direction or the “current rounding direction” which is expected to be one of the floating point rounding… Read More
Round 1: Written test The first round comprised of 25 one mark questions (without options) from C output questions and puzzle & general aptitude questions… Read More
Given an array A[] of non-negative integers, find the minimum in the array without using Relational Operators.Examples:   Input : A[] = {2, 3, 1, 4,… Read More
Program to print following pattern:   ********1******** *******2*2******* ******3*3*3****** *****4*4*4*4***** ****5*5*5*5*5**** ***6*6*6*6*6*6*** **7*7*7*7*7*7*7** Examples :   Input : 4 Output : ********1******** *******2*2******* ******3*3*3****** *****4*4*4*4***** Input :5… Read More
Given the binary tree and you have to find out the n-th node of inorder traversal. Examples:  Input : n = 4 10 / \… Read More
Given a string str that may contain one more occurrences of “AB”. Replace all occurrences of “AB” with “C” in str. Examples: Input : str… Read More
Given a string and a number N, we need to mirror the characters from N-th position up to the length of the string in the… Read More
Given a binary array, we can flip all the 1 are in the left part and all the 0 to the right part.Calculate the minimum… Read More
Given a binary array, we can flip all the 1 are in the left part and all the 0 to the right part. Calculate the… Read More
Given two four digit prime numbers, suppose 1033 and 8179, we need to find the shortest path from 1033 to 8179 by altering only single… Read More
Round 1: Online Round on Hacker Earth. Two questions were given – Given a string consisting only of A and B. Find the maximum length… Read More
Given a positive number N. We need to find number(s) such that sum of digits of those numbers to themselves is equal to N. If… Read More

Start Your Coding Journey Now!