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
Vectors are same as dynamic arrays with the ability to resize itself automatically when an element is inserted or deleted, with their storage being handled… Read More
Earlier we have discussed on how to check if both halves of the string have same set of characters. Now, we further extend our problem… Read More
Let A be a square matrix with all real number entries. Find two symmetric matrix P and skew symmetric matrix Q such that P +… Read More
Given a number N, output all Munchhausen numbers from 1 to n.Introduction : A Münchhausen number is a number equal to the sum of its… Read More
Given an integer k and an array arr[], the task is to repeat the following operation exactly k times: Find the minimum non-zero element in the… Read More
The array_merge() is a builtin function in PHP and is used to merge two or more arrays into a single array. This function is used… Read More
Given three numbers a, b and k, find k-th digit in ab from right sideExamples:  Input : a = 3, b = 3, k =… Read More
Given four points, check whether they form Pythagorean Quadruple. It is defined as a tuple of integers a, b, c, d such that . They are basically… Read More
Given an undirected graph and a set of vertices, we have to count the number of non-reachable nodes from the given head node using a… Read More
Consider below C program. // A C program to demonstrate need of strict  // aliasing #include<stdio.h>    // Value of 'a' can be accessed/modified either… Read More
Every project in Android includes a manifest file, which is AndroidManifest.xml, stored in the root directory of its project hierarchy. The manifest file is an… Read More
Multithreading support was introduced in C+11. Prior to C++11, we had to use POSIX threads or p threads library in C. While this library did… Read More
Given a list of permutations of any word. Find the missing permutation from the list of permutations. Examples: Input : Permutation_given[] = {"ABCD", "CABD", "ACDB",… Read More
We can measure the time taken by a function in Java with the help of java.lang.System.currentTimeMillis() method. This method returns the current time in millisecond.… Read More
replace() is an inbuilt function in the Python programming language that returns a copy of the string where all occurrences of a substring are replaced… Read More

Start Your Coding Journey Now!