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
The Highest Common Factor (HCF) , also called gcd, can be computed in python using a single function offered by math module and hence can… Read More
Python String casefold() method is used to implement caseless string matching. It is similar to lower() string method but case removes all the case distinctions… Read More
Given a n-ary tree and a number x, find and return the number of nodes which are greater than x.  Example:  In the given tree,… Read More
Given a linked list that contains some random integers from 1 to n with many duplicates. Replace each duplicate element that is present in the… Read More
strxfrm() is a C/C++ Library function. It is used to transform the characters of the source string into the current locale and place them in… Read More
A Magic Square is a n x n matrix of distinct element from 1 to n2 where the sum of any row, column or diagonal… Read More
Given a number n, find GCD of its digits. Examples :  Input : 345 Output : 1 GCD of 3, 4 and 5 is 1.… Read More
The sort_heap( ) is an STL algorithm which sorts a heap within the range specified by start and end. Sorts the elements in the heap… Read More
Given a generic tree and a integer x. Find and return the node with next larger element in the tree i.e. find a node just… Read More
Recently, GlobalLogic visited our campus for full-time recruitment. There was an online round followed by 1 GD and 3 interview rounds(2 Tech + 1 HR). Round 1: Online Round The… Read More
JPMC visited our campus , hiring for Technology Analyst Program 2018. It consists of 4 rounds – Coding+Aptitude , 1st TR , 2nd TR and… Read More
This program checks whether a number n can be expressed as power of k and if yes, then to what power should k be raised… Read More
Given a matrix of size n × m consisting of 0’s and 1’s. We need to find the number of unique cells with value 1… Read More
Quikr came to our college for associate software engineer profile. CSE EEE IS and ECE were the eligible branches. Round 1: It was a pen… Read More
Print the shortest sub-string of a string containing all the given words. In the first example, two solutions are possible: “world is here. this is… Read More