Google LeetCode Problems

100 most frequently asked LeetCode problems in Google technical interviews

Difficulty breakdown: 33 Easy, 58 Medium, 9 Hard

Ace Your Google Interview

Don't just study these problems — get real-time AI assistance during your actual interview with Interview Solver.

ProblemDiff
Two Sum
100%
E
Merge Strings Alternately
80%
E
Create Hello World Function
77%
E
Longest Substring Without Repeating Characters
73%
M
Add Two Numbers
71%
M
Merge Sorted Array
71%
E
Median of Two Sorted Arrays
67%
H
The Earliest Moment When Everyone Become Friends
67%
M
Zero Array Transformation I
67%
M
Zero Array Transformation III
67%
M
Merge Intervals
65%
M
Climbing Stairs
65%
E
Number of Islands
63%
M
Palindrome Number
60%
E
Maximum Subarray
60%
M
Move Pieces to Obtain a String
60%
M
Continuous Subarrays
60%
M
Maximum Beauty of an Array After Applying Operation
60%
M
Next Permutation
56%
M
Sqrt(x)
56%
E
Course Schedule
56%
M
Subarray Sum Equals K
56%
M
Recyclable and Low Fat Products
56%
E
Two Best Non-Overlapping Events
56%
M
Add Two Integers
56%
E
Letter Combinations of a Phone Number
53%
M
Valid Parentheses
53%
E
Generate Parentheses
53%
M
Remove Duplicates from Sorted Array
53%
E
Search Insert Position
53%
E
Flatten Binary Tree to Linked List
53%
M
Linked List Cycle
53%
E
Find Peak Element
53%
M
Construct String With Repeat Limit
53%
M
Zigzag Conversion
48%
M
Reverse Integer
48%
M
Longest Common Prefix
48%
E
Merge Two Sorted Lists
48%
E
Find the Index of the First Occurrence in a String
48%
E
Trapping Rain Water
48%
H
N-Queens
48%
H
Pascal's Triangle
48%
E
Best Time to Buy and Sell Stock
48%
E
LRU Cache
48%
M
Basic Calculator
48%
H
Palindrome Linked List
48%
E
Move Zeroes
48%
E
Find Median from Data Stream
48%
H
Minimum Area Rectangle
48%
M
Check If N and Its Double Exist
48%
E
Minimum Limit of Balls in a Bag
48%
M
Adding Spaces to a String
48%
M
Take Gifts From the Richest Pile
48%
E
Zero Array Transformation II
48%
M
Container With Most Water
42%
M
Integer to Roman
42%
M
Roman to Integer
42%
E
Find First and Last Position of Element in Sorted Array
42%
M
Permutations
42%
M
Rotate Image
42%
M
Jump Game
42%
M
Unique Paths
42%
M
Unique Paths II
42%
M
Plus One
42%
E
Sort Colors
42%
M
Single Number
42%
E
Majority Element
42%
E
Largest Number
42%
M
Isomorphic Strings
42%
E
Basic Calculator II
42%
M
Lowest Common Ancestor of a Binary Tree
42%
M
Missing Number
42%
E
Longest Increasing Subsequence
42%
M
Counting Bits
42%
E
Logger Rate Limiter
42%
E
Ransom Note
42%
E
Decode String
42%
M
Split Array Largest Sum
42%
H
Longest Repeating Character Replacement
42%
M
Coin Change II
42%
M
Daily Temperatures
42%
M
Reorganize String
42%
M
Koko Eating Bananas
42%
M
Reveal Cards In Increasing Order
42%
M
K Closest Points to Origin
42%
M
Longest Arithmetic Subsequence of Given Difference
42%
M
The kth Factor of n
42%
M
Frequency of the Most Frequent Element
42%
M
Minimum Time to Visit a Cell In a Grid
42%
H
Identify the Largest Outlier in an Array
42%
M
Maximum Area Rectangle With Point Constraints I
42%
M
Longest Palindromic Substring
33%
M
3Sum
33%
M
Remove Nth Node From End of List
33%
M
Merge k Sorted Lists
33%
H
Remove Element
33%
E
First Missing Positive
33%
H
Jump Game II
33%
M
Spiral Matrix
33%
M
Length of Last Word
33%
E