divide-and-conquer

Median of two sorted arrays of the equal size

Difficulty: Hard, Asked-in: Google, Microsoft, Amazon Key takeaway: An excellent problem to learn problem-solving using two pointers idea…

EnjoyAlgorithms

The maximum difference between two elements

Difficulty: Medium, Asked-in: Facebook, Microsoft, Amazon, Hike, SAP Labs Key takeaway: An excellent coding problem to learn problem-solving…

EnjoyAlgorithms

Analysis of Recursion in Data Structure and Algorithms

Recursion is one of the popular problem-solving approaches in data structure and algorithms. Even some problem-solving approaches are…

EnjoyAlgorithms

kth smallest element in an array

Difficulty: Medium, Asked-in: Google, Microsoft, Amazon, Cisco, SAP Labs, VMWare Key takeaways One of the best searching problems to learn…

EnjoyAlgorithms

Majority element in an array

Difficulty: Medium, Asked-in: Microsoft, Google, Amazon, Yahoo, Samsung Key takeaways A famous interview problem to learn problem-solving…

EnjoyAlgorithms

Maximum Subarray Sum

Difficulty: Medium, Asked-in: Facebook, Microsoft, Amazon, Morgan Stanley, Walmart, Flipkart, Hike, Oracle, Samsung, Snapdeal, Zoho Key…

EnjoyAlgorithms

Binary Search Algorithm: Fast Searching on Sorted Array!

Difficulty: Easy, Asked-in: Google, Amazon, Adobe, Oracle, Qualcomm, SAP Labs Let's understand the binary search problem Given a sorted…

EnjoyAlgorithms

Quicksort: one of the fastest sorting algorithms!

Difficulty: Medium, Asked-in: Google, Microsoft, Adobe, Goldman Sachs, Qualcomm Quick Sort is one of the most popular sorting algorithms…

EnjoyAlgorithms

Find the minimum and maximum value in an array

Difficulty: Medium, Asked-in: Facebook, Microsoft Key takeaways A good coding problem to learn problem-solving using single scan and divide…

EnjoyAlgorithms

Merge Sort Algorithm

Difficulty: Medium, Asked-in: Microsoft, Amazon, Goldman Sachs, Qualcomm, Bloomberg, Paytm Merge sort is a popular sorting algorithm that…

EnjoyAlgorithms

Subscribe our Newsletter

Get well-designed application and interview centirc content on ds-algorithms, machine learning, system design and oops. Content will be delivered weekly.