Skip to content

Google

#ProblemSolution
1Two SumRead solution
2Insert Interval—
3Text Justification—
4Minimum Window Substring—
5Maximal Rectangle—
6The Skyline Problem—
7Maximal Square—
8Meeting Rooms II—
9Find Median from Data StreamRead solution
10Bulls and Cows—
11Count of Smaller Numbers After Self—
12Longest Increasing Path in a Matrix—
13Longest Substring with At Most K Distinct Characters—
14Moving Average from Data Stream—
15Logger Rate Limiter—
16Design Hit Counter—
17Max Sum of Rectangle No Larger Than K—
18Decode String—
19Evaluate Division—
20Split Array Largest Sum—
21Robot Room Cleaner—
22Random Pick with Weight—
23Subarray Sum Equals K—
24Longest Line of Consecutive One in Matrix—
25Design Search Autocomplete System—
26Split Array into Consecutive Subsequences—
2724 Game—
28Minimum Window Subsequence—
29Network Delay Time—
30Open the Lock—
31Expressive Words—
32Find And Replace in String—
33Guess the Word—
34Hand of Straights—
35Shortest Subarray with Sum at Least K—
36X of a Kind in a Deck of Cards—
37Minimum Area Rectangle—
38Validate Stack Sequences—
39Flip Equivalent Binary Trees—
40Minimum Domino Rotations For Equal Row—
41Longest String Chain—
42Shortest Way to Form String—
43Confusing Number II—
44Delete Nodes And Return Forest—
45Snapshot Array—
46String Transforms Into Another String—
47Divide Chocolate—
48Divide Array in Sets of K Consecutive Numbers—
49Minimum Distance to Type a Word Using Two Fingers—
50Time Needed to Inform All Employees—