GOOGLE · CODING QUESTIONS
Google coding interview questions
The data structures and algorithms questions candidates report from Google interviews, linked to AlgoRung problems with an editor, hidden tests, an animated walkthrough and solutions in four languages. Most asked topics: Graphs, Trees & BST, Dynamic Programming, Tries.
All 12 reported Google coding questions
- Implement Trie (Prefix Tree) Medium Tries
- Decode String Medium Stack also Microsoft
- Minimum Window Substring Hard Arrays & Hashing also Meta, LinkedIn, Oracle
- Word Ladder Hard Graphs also Amazon, LinkedIn
- Binary Tree Maximum Path Sum Hard Trees & BST also Amazon, Adobe
- Lowest Common Ancestor of a Binary Tree Medium Trees & BST also Meta, Netflix, Atlassian +1
- Course Schedule Medium Graphs also Amazon, Netflix, Uber +1
- Cheapest Flights Within K Stops Medium Graphs also Airbnb, Flipkart, Swiggy
- Longest Common Subsequence Medium Dynamic Programming
- Coin Change Medium Dynamic Programming also Airbnb, Goldman Sachs, Salesforce
- Maximal Square Medium Dynamic Programming
- Evaluate Reverse Polish Notation Medium Stack
No questions match.
Also reported, not on AlgoRung yet (13)
Snapshot Array · Minimum Domino Rotations For Equal Row · Long Pressed Name · Expressive Words · Text Justification · Robot Room Cleaner · Longest Increasing Path in a Matrix · Non-overlapping Intervals · Maximal Rectangle · Race Car · Strobogrammatic Number II · Best Meeting Point · Confusing Number II
Questions people ask
What coding questions does Google ask?
Candidates most often report Implement Trie (Prefix Tree), Decode String, Minimum Window Substring, Word Ladder, Binary Tree Maximum Path Sum. The full list of 12 reported questions is on this page, each linked to a practice problem with solutions.
Which topics should I study for the Google coding interview?
graphs, trees, tries, dynamic programming, arrays and strings, heaps. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.
How hard are Google coding questions?
Of the reported questions on AlgoRung, 0 are easy, 9 medium and 3 hard. Expect mostly medium problems, with follow-ups that change a constraint.
Coding questions at other companies
- Amazon
- Microsoft
- Meta
- Apple
- Netflix
- Uber
- Airbnb
- Stripe
- Atlassian
- Goldman Sachs
- Salesforce
- Oracle
- Adobe
- Flipkart
- Walmart Global Tech
- PhonePe
- Swiggy
- Razorpay
Coding questions across all companies · Behavioral questions