All Google Coding Interview Questions
1878 questions we track for Google, most frequently asked first. Practice any of them in the code editor and get AI feedback on your solution.
- Junior26% (484)
- Mid/Senior52% (980)
- Staff22% (414)
Questionspage 10 of 19
- Stone Game III2 companiesStaff
- String Matching in an Array5 companiesJunior
- HTML Entity Parser3 companiesMid/Senior
- Number of Ways to Paint N × 3 Grid7 companiesStaff
- Minimum Value to Get Positive Step by Step Sum9 companiesJunior
- Find the Minimum Number of Fibonacci Numbers Whose Sum Is K1 companyMid/Senior
- The k-th Lexicographical String of All Happy Strings of Length n5 companiesMid/Senior
- Restore The Array2 companiesStaff
- Build Array Where You Can Find The Maximum Exactly K Comparisons2 companiesStaff
- Maximum Score After Splitting a String3 companiesJunior
- Maximum Points You Can Obtain from Cards12 companiesMid/Senior
- Diagonal Traverse II5 companiesMid/Senior
- Constrained Subsequence Sum2 companiesStaff
- Kids With the Greatest Number of Candies6 companiesJunior
- Max Difference You Can Get From Changing an Integer6 companiesMid/Senior
- Check If All 1's Are at Least Length K Places Away3 companiesJunior
- Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit15 companiesMid/Senior
- Build an Array With Stack Operations3 companiesMid/Senior
- Count Triplets That Can Form Two Arrays of Equal XOR2 companiesMid/Senior
- Minimum Time to Collect All Apples in a Tree6 companiesMid/Senior
- Number of Ways of Cutting a Pizza1 companyStaff
- Simplified Fractions1 companyMid/Senior
- Count Good Nodes in Binary Tree7 companiesMid/Senior
- Form Largest Integer With Digits That Add up to Target1 companyStaff
- People Whose List of Favorite Companies Is Not a Subset of Another List2 companiesMid/Senior
- Check If a Word Occurs As a Prefix of Any Word in a Sentence6 companiesJunior
- Maximum Number of Vowels in a Substring of Given Length5 companiesMid/Senior
- Max Dot Product of Two Subsequences5 companiesStaff
- Check If a String Contains All Binary Codes of Size K5 companiesMid/Senior
- Course Schedule IV6 companiesMid/Senior
- Cherry Pickup II7 companiesStaff
- Maximum Product of Two Elements in an Array7 companiesJunior
- Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts4 companiesMid/Senior
- Reorder Routes to Make All Paths Lead to the City Zero5 companiesMid/Senior
- Shuffle the Array6 companiesJunior
- The k Strongest Values in an Array1 companyMid/Senior
- Paint House III3 companiesStaff
- Final Prices With a Special Discount in a Shop7 companiesJunior
- Find Two Non-overlapping Sub-arrays Each With Target Sum1 companyMid/Senior
- Allocate Mailboxes4 companiesStaff
- Running Sum of 1d Array6 companiesJunior
- Least Number of Unique Integers after K Removals6 companiesMid/Senior
- Minimum Number of Days to Make m Bouquets9 companiesMid/Senior
- XOR Operation in an Array2 companiesJunior
- Avoid Flood in The City6 companiesMid/Senior
- Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree3 companiesStaff
- The kth Factor of n8 companiesMid/Senior
- Longest Subarray of 1's After Deleting One Element8 companiesMid/Senior
- Parallel Courses II3 companiesStaff
- Path Crossing3 companiesJunior
- Check If Array Pairs Are Divisible by k8 companiesMid/Senior
- Number of Subsequences That Satisfy the Given Sum Condition6 companiesMid/Senior
- Max Value of Equation1 companyStaff
- Can Make Arithmetic Progression From Sequence5 companiesJunior
- Last Moment Before All Ants Fall Out of a Plank1 companyMid/Senior
- Count Submatrices With All Ones4 companiesMid/Senior
- Range Sum of Sorted Subarray Sums3 companiesMid/Senior
- Minimum Difference Between Largest and Smallest Value in Three Moves2 companiesMid/Senior
- Number of Good Pairs10 companiesJunior
- Number of Substrings With Only 1s3 companiesMid/Senior
- Path with Maximum Probability5 companiesMid/Senior
- Water Bottles9 companiesJunior
- Count Odd Numbers in an Interval Range4 companiesJunior
- Number of Sub-arrays With Odd Sum6 companiesMid/Senior
- Number of Good Ways to Split a String2 companiesMid/Senior
- Minimum Number of Increments on Subarrays to Form a Target Array7 companiesStaff
- Shuffle String2 companiesJunior
- Number of Good Leaf Nodes Pairs3 companiesMid/Senior
- String Compression II5 companiesStaff
- Count Good Triplets5 companiesJunior
- Get the Maximum Score5 companiesStaff
- Kth Missing Positive Number9 companiesJunior
- Minimum Insertions to Balance a Parentheses String4 companiesMid/Senior
- Make The String Great4 companiesJunior
- Find Kth Bit in Nth Binary String5 companiesMid/Senior
- Maximum Number of Non-Overlapping Subarrays With Sum Equals Target1 companyMid/Senior
- Minimum Cost to Cut a Stick8 companiesStaff
- Three Consecutive Odds5 companiesJunior
- Magnetic Force Between Two Balls10 companiesMid/Senior
- Minimum Number of Days to Eat N Oranges1 companyStaff
- Minimum Number of Vertices to Reach All Nodes4 companiesMid/Senior
- Detect Cycles in 2D Grid6 companiesMid/Senior
- Find Latest Group of Size M1 companyMid/Senior
- Stone Game V1 companyStaff
- Minimum Number of Days to Disconnect Island4 companiesStaff
- Number of Ways to Reorder Array to Get Same BST2 companiesStaff
- Matrix Diagonal Sum6 companiesJunior
- Shortest Subarray to be Removed to Make Array Sorted9 companiesMid/Senior
- Remove Max Number of Edges to Keep Graph Fully Traversable4 companiesStaff
- Special Positions in a Binary Matrix4 companiesJunior
- Count Unhappy Friends2 companiesMid/Senior
- Min Cost to Connect All Points10 companiesMid/Senior
- Check If String Is Transformable With Substring Sort Operations1 companyStaff
- Sum of All Odd Length Subarrays3 companiesJunior
- Make Sum Divisible by P7 companiesMid/Senior
- Strange Printer II1 companyStaff
- Rearrange Spaces Between Words1 companyJunior
- Split a String Into the Max Number of Unique Substrings5 companiesMid/Senior
- Maximum Non Negative Product in a Matrix3 companiesMid/Senior
- Minimum Cost to Connect Two Groups of Points1 companyStaff