The data structure and algorithm provide a set of approaches to the programmer for handling the data efficiently. If the programmer does not know…
What is Algorithmic Thinking? Algorithmic Thinking has recently become a buzzword among programmers. It is a method for solving problems based on a…
Difficulty Level Medium Asked In Microsoft, Amazon, Goldman Sachs, Qualcomm, Bloomberg, Oracle, Paytm Merge Sort Introduction Merge sort is one of the…
Difficulty Level Easy Asked In Amazon, Adobe, Hike Three solutions Discussed Brute force approach — Using two nested loops Using extra space — Using…
What is Competitive Programming? Competitive Programming is a programming sport involving many participants competing with each other to achieve…