Real Interview Questions from FAANG Companies

Practice with authentic coding interview questions asked at Google, Amazon, Microsoft, Meta, Apple, and other top tech companies. Get detailed solutions, explanations, and preparation strategies from real software engineer interviews.

500+
Real Questions
50+
Companies
4
Languages
Access All Questions

Sample Interview Questions

Two Sum Problem

Easy
GoogleAmazonMicrosoft

Given an array of integers and a target sum, find two numbers that add up to the target. This is one of the most commonly asked questions in technical interviews...

ArrayHash TableTwo Pointers
View Full Solution

Binary Tree Level Order Traversal

Medium
MetaAppleNetflix

Given the root of a binary tree, return the level order traversal of its nodes' values. This problem tests your understanding of tree traversal algorithms...

TreeBFSQueue
View Full Solution

Longest Substring Without Repeating Characters

Medium
AmazonTeslaUber

Given a string, find the length of the longest substring without repeating characters. This problem is frequently asked to test sliding window technique...

StringSliding WindowHash Map
View Full Solution

Merge Intervals

Medium
GoogleAirbnbSpotify

Given an array of intervals, merge all overlapping intervals and return an array of non-overlapping intervals. This tests interval manipulation skills...

ArraySortingIntervals
View Full Solution

Valid Parentheses

Easy
MicrosoftAdobeGoldman Sachs

Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. Stack-based problem commonly asked...

StringStackParsing
View Full Solution

Maximum Subarray Sum

Easy
AppleJP MorganSalesforce

Given an integer array, find the contiguous subarray with the largest sum. This classic problem introduces dynamic programming concepts...

ArrayDynamic ProgrammingKadane's Algorithm
View Full Solution

Reverse Linked List

Easy
NetflixIntelOracle

Given the head of a singly linked list, reverse the list and return the reversed list. Fundamental linked list manipulation problem...

Linked ListPointersIterative
View Full Solution

Search in Rotated Sorted Array

Medium
GoogleAmazonNvidia

You are given an integer array sorted in ascending order, but rotated at some pivot. Search for a target value efficiently...

ArrayBinary SearchRotation
View Full Solution

Climbing Stairs

Easy
MetaUberAccenture

You are climbing a staircase. It takes n steps to reach the top. Each time you can climb 1 or 2 steps. How many distinct ways are there...

Dynamic ProgrammingMathMemoization
View Full Solution

Group Anagrams

Medium
AmazonMicrosoftIBM

Given an array of strings, group the anagrams together. An anagram is a word formed by rearranging letters of another word...

StringHash MapSorting
View Full Solution

Ready to Ace Your Next Interview?

Join thousands of developers who have successfully prepared for FAANG interviews with our authentic question bank.