searching

Check if two arrays are equal or not

Difficulty: Easy, Asked-in: Microsoft, Amazon, Goldman Sachs Key takeaway: A good problem to learn problem-solving using a hash table. Let’s…

EnjoyAlgorithms

Introduction to Hashing

Millions of users on the internet are generating terabytes of content every day, and the amazing part is: the amount of content is doubling…

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

Find the row with the maximum number of 1s

Difficulty: Medium, Asked-in: Amazon, Microsoft, Paytm Key takeaway: This is an excellent matrix problem that can be solved in linear time…

EnjoyAlgorithms

Find the maximum in an array which is first increasing and then decreasing

Difficulty: Easy, Asked-in: Microsoft, Amazon, Adobe, Goldman Sachs, Walmart Key takeaway: This is a good interview problem to learn problem…

EnjoyAlgorithms

Find first and last positions of an element in a sorted array

Difficulty: Easy, Asked-in: Google, Amazon, Microsoft Key takeaway: This is a good interview problem to learn problem-solving using binary…

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

Search in a row-wise sorted 2D matrix

Difficulty: Easy, Asked-in: Microsoft, Amazon, Adobe, Directi, Goldman Sachs, Paytm, SAP, Visa Key takeaway: An excellent problem to learn…

EnjoyAlgorithms

Check for pair in an array with a given sum

Difficulty: Medium, Asked-in: Google, Facebook, Microsoft, Amazon, Flipkart, Hike, Morgan Stanley Key takeaway A famous searching problem…

EnjoyAlgorithms

n Repeated element in 2n size array

Difficulty: Medium, Asked-in: Google Key takeaway: An excellent problem to learn optimization using the mathematical approach. Sometimes…

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

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

Find equilibrium index of an array

Difficulty: Easy, Asked-in: Amazon, Adobe, Hike Key Takeaway: Learn problem-solving and optimization using a single loop. Let’s understand…

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.