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
A race is going on in which several stones are placed on a road. A bucket is placed at the starting point of the race,… Read More
Given three arrays sorted in non-decreasing order, print all common elements in these arrays. Examples: Input: ar1 = [1, 5, 10, 20, 40, 80] ar2… Read More
Given a list, print the value obtained after multiplying all numbers in a list. Examples:   Input : list1 = [1, 2, 3] Output : 6 Explanation:… Read More
Addition or Subtraction of matrices takes O(n^2) time without threads but using threads we don’t reduce the time complexity of the program we divide the… Read More
A pernicious number is a positive integer which has prime number of ones in its binary representation. The first pernicious number is 3 since 3… Read More
Freeware: It is a software that is provided to the user free of cost with the fully functional mechanism having no expiry date. Anyone can… Read More
Diagonal matrix: A square matrix is said to be diagonal matrix if the elements of matrix except main diagonal are zero. A square null matrix… Read More
Given a number n, find sum of square of first n odd natural numbers. Examples :  Input : 3 Output : 35 12 + 32… Read More
Given a number n, find sum of square of first n even natural numbers.  Examples :  Input : 3 Output : 56 22 + 42… Read More
Find the smallest number such that the sum of its digits is N and it is divisible by .Examples :   Input : N = 5 Output… Read More
There was 1 coding round and 3 rounds of face to face interview. The online round consisted of 2 coding questions of 120 marks and… Read More
Given lower and upper limits, generate a given count of random numbers within a given range, starting from ‘start’ to ‘end’ and store them in… Read More
Given a list of numbers, Your task is to remove and print every third number from a list of numbers until the list becomes empty.… Read More
Given an array of n integers, find the sum of f(a[i], a[j]) of all pairs (i, j) such that (1 <= i < j <=… Read More
Given two strings X and Y, we need to convert string X into an anagram of string Y with minimum replacements. If we have multiple… Read More