facebook-interview-questions

Triplet with zero sum

Difficulty: Medium, Asked-in: Google, Amazon, Facebook, Microsoft Key takeaway: An excellent problem to learn problem-solving using hashing…

EnjoyAlgorithms

Implement Queue using Stacks

Difficulty: Easy, Asked-in: Facebook, Microsoft, Amazon, Adobe, Goldman Sachs, Morgan Stanley, Walmart, Flipkart Key takeaway: An excellent…

EnjoyAlgorithms

Find Min Depth of a Binary Tree

Difficulty: Easy, Asked-in: Facebook, Amazon Key takeaway: An excellent problem to learn problem-solving using both recursive and iterative…

EnjoyAlgorithms

Roman to Integer

Difficulty: Easy, Asked-in: Amazon, Microsoft, Facebook, LinkedIn, Twitter, Zoho Key takeaway: A good mathematical problem to learn problem…

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 most frequent element in an array

Difficulty: Easy, Asked-in: Facebook, Uber Key takeaway: An excellent-searching problem to learn problem-solving and time complexity…

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

Rotate a matrix by 90 degrees in an anticlockwise direction

Difficulty: Medium, Asked-in: Google, Facebook, Microsoft, Amazon, Morgan Stanley Key takeaway: It is a famous matrix-based problem that can…

EnjoyAlgorithms

Remove duplicates from sorted array

Difficulty: Easy, Asked-in: Google, Facebook, Microsoft, Amazon, Morgan Stanley Key takeaway: A famous modification problem to learn…

EnjoyAlgorithms

Container With Most Water

Difficulty: Medium, Asked-in: Google, Facebook, Amazon, Adobe Key takeaway: An excellent coding problem to learn problem-solving using the…

EnjoyAlgorithms

Sort an array of 0s, 1s, and 2s —Dutch national flag problem

Difficulty: Medium, Asked-in: Google, Facebook, Microsoft, Amazon, Paytm, Morgan Stanley, Hike, Walmart, Adobe, SAP Labs, Qualcomm Key…

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

Move zeroes to end of an array

Difficulty: Easy, Asked-in: Facebook, Amazon, Uber, LinkedIn, Bloomberg Key-takeaway: The efficient solution is a variation of two pointers…

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.