google-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

Longest Common Subsequence

Difficulty: Medium, Asked-in: Google, Amazon, Uber, Hike Key takeaways An excellent problem to learn dynamic programming approach. We are…

EnjoyAlgorithms

Minimum number of Jumps to reach End

Difficulty: Medium, Asked-in: Google, Amazon, Walmart, Adobe, eBay Key takeaway: An excellent problem to learn time and space complexity…

EnjoyAlgorithms

Detect Loop in a Linked List

Difficulty: Medium, Asked-in: Google, Amazon, Microsoft, Goldman Sachs, Nvidia Key takeaway: This is one of the popular linked-list problems…

EnjoyAlgorithms

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

Climbing Stairs Problem

Difficulty: Medium, Asked-in: Google, Amazon, Intel, Morgan Stanley, LinkedIn Key takeaway: an excellent counting problem to learn problem…

EnjoyAlgorithms

First Missing Positive

Difficulty: Hard, Asked-in: Google, Amazon, Samsung Key takeaway: One of the best searching problems to learn step-by-step optimization…

EnjoyAlgorithms

Longest Consecutive Sequence

Difficulty: Hard, Asked-in: Google, Amazon, Linkedin, Walmart, Zoho Key takeaway: One of the best searching problems is learning problem…

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

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

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

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

Trapping Rain Water

Difficulty: Hard, Asked-in: Google, Microsoft, Amazon Key takeaway: A popular interview problem to learn optimization using various…

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

Valid Mountain Array

Difficulty: Easy, Asked-in: Google, Amazon Key takeaway An excellent problem to learn problem-solving using a single scan Solution ideas are…

EnjoyAlgorithms

Sort an array in a waveform

Difficulty: Easy, Asked-in: Google, Amazon, Adobe Key takeaway: A good problem to learn the problem solving using sorting and single scan…

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.