Problems tagged as asked at Google, grouped by pattern.
0/256
Solved
0%
Complete
Array
Two SumStart here
Remove Duplicates from Sorted Array
Remove Element
Plus One
Merge Sorted Array
Best Time to Buy and Sell Stock
Majority Element
Contains Duplicate
Summary Ranges
Max Consecutive Ones
Find the Largest Almost Missing Integer
Unique 3-Digit Even Numbers
Next Permutation
Remove Duplicates from Sorted Array II
Best Time to Buy and Sell Stock II
Longest Consecutive Sequence
Rotate Array
Majority Element II
Product of Array Except Self
Find All Duplicates in an Array
First Missing Positive
Hash Table
Two Pointers
Sliding Window
Longest Substring Without Repeating Characters
Minimum Size Subarray Sum
Longest Repeating Character Replacement
Max Consecutive Ones II
Fruit Into Baskets
Max Consecutive Ones III
Shortest and Lexicographically Smallest Beautiful String
Substring with Concatenation of All Words
Minimum Window Substring
Sliding Window Maximum
Stack
String
Binary Search
Search Insert Position
Sqrt(x)
Binary Search
Search in Rotated Sorted Array
Find First and Last Position of Element in Sorted Array
Search a 2D Matrix
Find Minimum in Rotated Sorted Array
Find Peak Element
H-Index II
Single Element in a Sorted Array
Koko Eating Bananas
Capacity to Ship Packages Within D Days
Median of Two Sorted Arrays
Find Minimum in Rotated Sorted Array II
Split Array Largest Sum
Kth Smallest Number in Multiplication Table
Kth Smallest Amount With Single Denomination Combination
Linked List
Tree
Same Tree
Maximum Depth of Binary Tree
Balanced Binary Tree
Count Complete Tree Nodes
Invert Binary Tree
Diameter of Binary Tree
Validate Binary Search Tree
Binary Tree Level Order Traversal
Construct Binary Tree from Preorder and Inorder Traversal
Flatten Binary Tree to Linked List
Kth Smallest Element in a BST
Lowest Common Ancestor of a Binary Tree
House Robber III
All Nodes Distance K in Binary Tree
Binary Tree Maximum Path Sum
Serialize and Deserialize Binary Tree
Serialize and Deserialize N-ary Tree
Graph
Surrounded Regions
Clone Graph
Number of Islands
Course Schedule
Course Schedule II
Graph Valid Tree
Number of Connected Components in an Undirected Graph
Evaluate Division
Redundant Connection
Accounts Merge
Network Delay Time
Is Graph Bipartite?
Cheapest Flights Within K Stops
Min Cost to Connect All Points
Word Ladder
Alien Dictionary
Reconstruct Itinerary
BFS
Heap
Kth Largest Element in a Stream
Last Stone Weight
Kth Largest Element in an Array
Find K Pairs with Smallest Sums
Task Scheduler
Top K Frequent Words
K Closest Points to Origin
Find Median from Data Stream
IPO
Swim in Rising Water
Minimum Interval to Include Each Query
Dynamic Programming
Climbing Stairs
Min Cost Climbing Stairs
Maximum Subarray
Unique Paths
Minimum Path Sum
Edit Distance
Decode Ways
Interleaving String
Word Break
Maximum Product Subarray
House Robber
House Robber II
Maximal Square
Longest Increasing Subsequence
Best Time to Buy and Sell Stock with Cooldown
Coin Change
Partition Equal Subset Sum
Target Sum
Coin Change II
Stone Game
Maximum Sum Circular Subarray
Last Stone Weight II
Stone Game II
Longest Common Subsequence
Number of Sets of K Non-Overlapping Line Segments
Regular Expression Matching
Distinct Subsequences
Best Time to Buy and Sell Stock III
Palindrome Partitioning II
Best Time to Buy and Sell Stock IV
Burst Balloons
Longest Increasing Path in a Matrix
Distinct Subsequences II
Maximum Profit in Job Scheduling
Palindrome Partitioning III
Jump Game V
Stone Game V
Stone Game VIII
Maximum Number of Non-overlapping Palindrome Substrings
Greedy
Intervals
Backtracking
Matrix
Math
Prefix Sum
Design
Moving Average from Data Stream
Logger Rate Limiter
LRU Cache
Implement Trie (Prefix Tree)
Design Add and Search Words Data Structure
Range Sum Query 2D - Immutable
Range Sum Query - Mutable
Design Twitter
Design Hit Counter
Insert Delete GetRandom O(1)
My Calendar I
My Calendar II
Time Based Key-Value Store
Detect Squares
Range Sum Query 2D - Mutable
LFU Cache
My Calendar III