← Google roles

Interview question tracker

Google SDE 2

The 183 highest-frequency questions from last 30 days. Finish the strongest signals first.

Updated weekly · Latest source check: ⓘLatest successful check of the sources used by this company. A check does not necessarily mean the questions changed.

One question at a time.

Top questions 183

DoneQuestionLeetCode
Two SumSolve
Add Two NumbersSolve
3SumSolve
Best Time to Buy and Sell StockSolve
Longest Substring Without Repeating CharactersSolve
Palindrome NumberSolve
Trapping Rain WaterSolve
Container With Most WaterSolve
Longest Common PrefixSolve
Median of Two Sorted ArraysSolve
Remove Duplicates from Sorted ArraySolve
Reverse IntegerSolve
Combine Two TablesSolve
Majority ElementSolve
Concatenation of ArraySolve
Maximum XOR of Two Numbers in an ArraySolve
Binary SearchSolve
Longest Consecutive SequenceSolve
Maximum Product of Three NumbersSolve
Move ZeroesSolve
Split Array Largest SumSolve
Valid AnagramSolve
Contains DuplicateSolve
Find Missing ElementsSolve
Find the Lexicographically Smallest Valid SequenceSolve
Group AnagramsSolve
House RobberSolve
Maximum Product of Two Elements in an ArraySolve
Middle of the Linked ListSolve
Number of IslandsSolve
Power of TwoSolve
Reverse Linked ListSolve
Reverse StringSolve
Search Insert PositionSolve
Sliding Window MaximumSolve
Smallest Divisible Digit Product ISolve
Stone GameSolve
Subarray Sum Equals KSolve
3Sum ClosestSolve
4SumSolve
Add Two IntegersSolve
Binary Tree Inorder TraversalSolve
Generate ParenthesesSolve
Letter Combinations of a Phone NumberSolve
Longest Repeating Character ReplacementSolve
Minimum Number of Pushes to Type Word ISolve
Next Greater Element ISolve
Palindrome Linked ListSolve
Plus OneSolve
Predict the WinnerSolve
Recyclable and Low Fat ProductsSolve
Rotate ArraySolve
Running Sum of 1d ArraySolve
Smallest Subsequence of Distinct CharactersSolve
Two Sum II - Input Array Is SortedSolve
Best Time to Buy and Sell Stock IISolve
Contains Duplicate IISolve
Employees Earning More Than Their ManagersSolve
Find Customer RefereeSolve
First Missing PositiveSolve
Happy NumberSolve
Intersection of Two ArraysSolve
Maximize Active Section with Trade IISolve
Maximum Depth of Binary TreeSolve
Product of Array Except SelfSolve
Range Sum Query - ImmutableSolve
Remove Duplicates from Sorted ListSolve
Reorder ListSolve
Rotting OrangesSolve
Smallest Missing Integer Greater Than Sequential Prefix SumSolve
Squares of a Sorted ArraySolve
Stone Game IISolve
Stone Game IIISolve
Top K Frequent ElementsSolve
Valid ParenthesesSolve
Burst BalloonsSolve
Check if Array Is Sorted and RotatedSolve
Climbing StairsSolve
Count Valid SequencesSolve
Diameter of Binary TreeSolve
Find First and Last Position of Element in Sorted ArraySolve
Find the DifferenceSolve
Find the Duplicate NumberSolve
Find the Index of the First Occurrence in a StringSolve
Isomorphic StringsSolve
Jump Game IISolve
Logger Rate LimiterSolve
Longest Palindromic SubstringSolve
Lowest Common Ancestor of a Binary TreeSolve
LRU CacheSolve
Maximize Active Section with Trade ISolve
Maximum Average Subarray ISolve
Maximum Length Substring With Two OccurrencesSolve
Maximum Product of Two DigitsSolve
Meeting Rooms IISolve
Merge IntervalsSolve
Merge Sorted ArraySolve
Missing NumberSolve
N-QueensSolve
Next Greater Element IISolve
Number of Recent CallsSolve
Number of Visible People in a QueueSolve
Pow(x, n)Solve
Reverse PairsSolve
Roman to IntegerSolve
Search in Rotated Sorted ArraySolve
Second Minimum Time to Reach DestinationSolve
Shift 2D GridSolve
Smallest Palindromic Rearrangement ISolve
Sort an ArraySolve
Sort ListSolve
Spiral MatrixSolve
Sqrt(x)Solve
Subarray Product Less Than KSolve
Zigzag ConversionSolve
Binary Tree Zigzag Level Order TraversalSolve
Bus RoutesSolve
Can Place FlowersSolve
Car PoolingSolve
Coin ChangeSolve
Count Complete Tree NodesSolve
Count PrimesSolve
Course ScheduleSolve
Daily TemperaturesSolve
Decode StringSolve
Decode WaysSolve
Divide Two IntegersSolve
Dungeon GameSolve
Duplicate ZerosSolve
Find Median from Data StreamSolve
Find Minimum in Rotated Sorted ArraySolve
Find Minimum in Rotated Sorted Array IISolve
Find Missing and Repeated ValuesSolve
Find Peak ElementSolve
Fruit Into BasketsSolve
H-IndexSolve
Implement Queue using StacksSolve
Implement Trie (Prefix Tree)Solve
Insert IntervalSolve
Integer to RomanSolve
Invert Binary TreeSolve
Koko Eating BananasSolve
Kth Ancestor of a Tree NodeSolve
Largest Rectangle in HistogramSolve
Length of Longest Subarray With at Most K FrequencySolve
LFU CacheSolve
Linked List CycleSolve
Longest Common SubsequenceSolve
Longest Substring of One Repeating CharacterSolve
Max Consecutive OnesSolve
Maximum Good Subarray SumSolve
Merge Strings AlternatelySolve
Merge Two Sorted ListsSolve
Minimum Cost For TicketsSolve
Minimum Height TreesSolve
Minimum Number of Days to Make m BouquetsSolve
Non-overlapping IntervalsSolve
Odd Even Linked ListSolve
Palindrome PartitioningSolve
Partition Array Into Two Arrays to Minimize Sum DifferenceSolve
Partition Equal Subset SumSolve
Regular Expression MatchingSolve
Remove All Adjacent Duplicates In StringSolve
Remove Duplicates from Sorted Array IISolve
Remove Methods From ProjectSolve
Remove Nth Node From End of ListSolve
Richest Customer WealthSolve
Rotate ListSolve
Single Element in a Sorted ArraySolve
Single NumberSolve
Smallest Divisible Digit Product IISolve
Smallest Palindromic Rearrangement IISolve
Step-By-Step Directions From a Binary Tree Node to AnotherSolve
Subarray Sums Divisible by KSolve
Symmetric TreeSolve
Time Based Key-Value StoreSolve
Unique Middle ElementSolve
Unique PathsSolve
Unique Paths IISolve
Valid PalindromeSolve
Water BottlesSolve
Word LadderSolve
Word SearchSolve