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.
Start your Google mock interviewQuestions Google asks, live voice, scored. First one free.
- Junior26% (484)
- Mid/Senior52% (980)
- Staff22% (414)
Questionspage 16 of 19
- Sum of Squares of Special Elements1 companyJunior
- Maximum Beauty of an Array After Applying Operation2 companiesMid/Senior
- Minimum Index of a Valid Split3 companiesMid/Senior
- Length of the Longest Valid Substring3 companiesStaff
- Check if Array is Good3 companiesJunior
- Sort Vowels in a String4 companiesMid/Senior
- Ways to Express an Integer as Sum of Powers5 companiesMid/Senior
- Largest Element in an Array after Merge Operations2 companiesMid/Senior
- Count Paths That Can Form a Palindrome in a Tree4 companiesStaff
- Count Complete Subarrays in an Array4 companiesMid/Senior
- Shortest String That Contains Three Strings3 companiesMid/Senior
- Count Stepping Numbers in Range2 companiesStaff
- Insert Greatest Common Divisors in Linked List5 companiesMid/Senior
- Find the Safest Path in a Grid3 companiesMid/Senior
- Max Pair Sum in an Array4 companiesJunior
- Double a Number Represented as a Linked List3 companiesMid/Senior
- Minimum Absolute Difference Between Elements With Constraint8 companiesMid/Senior
- Apply Operations to Maximize Score2 companiesStaff
- Count Pairs Whose Sum is Less than Target7 companiesJunior
- Find the Longest Equal Subarray4 companiesMid/Senior
- Furthest Point From Origin4 companiesJunior
- Check if Strings Can be Made Equal With Operations I3 companiesJunior
- Check if Strings Can be Made Equal With Operations II4 companiesMid/Senior
- Count K-Subsequences of a String With Maximum Beauty1 companyStaff
- Count Symmetric Integers5 companiesJunior
- Count of Interesting Subarrays4 companiesMid/Senior
- Determine if a Cell Is Reachable at a Given Time2 companiesMid/Senior
- Minimum Moves to Spread Stones Over Grid5 companiesMid/Senior
- String Transformation3 companiesStaff
- Count Pairs of Points With Distance k1 companyMid/Senior
- Minimum Edge Reversals So Every Node Is Reachable10 companiesStaff
- Maximum Odd Binary Number3 companiesJunior
- Maximum Number of K-Divisible Components4 companiesStaff
- Maximum Value of an Ordered Triplet I4 companiesJunior
- Maximum Value of an Ordered Triplet II5 companiesMid/Senior
- Divisible and Non-divisible Sums Difference4 companiesJunior
- Minimum Processing Time3 companiesMid/Senior
- Construct Product Matrix4 companiesMid/Senior
- Minimum Number of Changes to Make Binary String Beautiful4 companiesMid/Senior
- Minimum Equal Sum of Two Arrays After Replacing Zeros5 companiesMid/Senior
- Minimum Increment Operations to Make Array Beautiful1 companyMid/Senior
- Find Champion I1 companyJunior
- Find Champion II2 companiesMid/Senior
- Maximum Score After Applying Operations on a Tree1 companyMid/Senior
- Distribute Candies Among Children II5 companiesMid/Senior
- Separate Black and White Balls5 companiesMid/Senior
- Maximum Xor Product4 companiesMid/Senior
- Find Building Where Alice and Bob Can Meet5 companiesStaff
- Find Words Containing Character6 companiesJunior
- Maximize Area of Square Hole in Grid4 companiesMid/Senior
- Find Maximum Non-decreasing Array Length4 companiesStaff
- Matrix Similarity After Cyclic Shifts5 companiesJunior
- Make Lexicographically Smallest Array by Swapping Elements5 companiesMid/Senior
- Find Common Elements Between Two Arrays5 companiesJunior
- Length of Longest Subarray With at Most K Frequency4 companiesMid/Senior
- Count Subarrays Where Max Element Appears at Least K Times6 companiesMid/Senior
- Count the Number of Good Partitions1 companyStaff
- Find Missing and Repeated Values6 companiesJunior
- Divide Array Into Arrays With Max Difference6 companiesMid/Senior
- Minimum Cost to Make Array Equalindromic1 companyMid/Senior
- Apply Operations to Maximize Frequency Score3 companiesStaff
- Minimum Number Game5 companiesJunior
- Maximum Square Area by Removing Fences From a Field3 companiesMid/Senior
- Minimum Cost to Convert String I4 companiesMid/Senior
- Minimum Cost to Convert String II4 companiesStaff
- Find Longest Special Substring That Occurs Thrice I5 companiesMid/Senior
- Find Longest Special Substring That Occurs Thrice II2 companiesMid/Senior
- Smallest Missing Integer Greater Than Sequential Prefix Sum2 companiesJunior
- Count the Number of Powerful Integers5 companiesStaff
- Maximum Area of Longest Diagonal Rectangle4 companiesJunior
- Count Elements With Maximum Frequency8 companiesJunior
- Find Beautiful Indices in the Given Array I5 companiesMid/Senior
- Maximum Number That Sum of the Prices Is Less Than or Equal to K2 companiesMid/Senior
- Find Beautiful Indices in the Given Array II3 companiesStaff
- Divide an Array Into Subarrays With Minimum Cost I6 companiesJunior
- Find if Array Can Be Sorted5 companiesMid/Senior
- Divide an Array Into Subarrays With Minimum Cost II4 companiesStaff
- Minimum Number of Pushes to Type Word I4 companiesJunior
- Find the Maximum Number of Elements in Subset2 companiesMid/Senior
- Alice and Bob Playing Flower Game5 companiesMid/Senior
- Type of Triangle5 companiesJunior
- Find the Number of Ways to Place People I4 companiesMid/Senior
- Maximum Good Subarray Sum6 companiesMid/Senior
- Find the Number of Ways to Place People II3 companiesStaff
- Ant on the Boundary3 companiesJunior
- Maximize Consecutive Elements in an Array After Modification1 companyStaff
- Count Prefix and Suffix Pairs I6 companiesJunior
- Find the Length of the Longest Common Prefix17 companiesMid/Senior
- Most Frequent Prime1 companyMid/Senior
- Split the Array4 companiesJunior
- Find the Largest Area of Square Inside Two Rectangles5 companiesMid/Senior
- Earliest Second to Mark Indices II2 companiesStaff
- Minimum Operations to Exceed Threshold Value II4 companiesMid/Senior
- Find the Maximum Sum of Node Values4 companiesStaff
- Count Submatrices with Top-Left Element and Sum Less Than k2 companiesMid/Senior
- Apple Redistribution into Boxes3 companiesJunior
- Maximize Happiness of Selected Children3 companiesMid/Senior
- Find the Sum of the Power of All Subsequences2 companiesStaff
- Minimum Deletions to Make String K-Special3 companiesMid/Senior
- Longest Common Suffix Queries1 companyStaff