Coding interview questions

Google Medium Coding Interview Questions (DSA)

The 20 medium DSA problems Google has asked most in the last six months, most-asked first. Switch tabs to see the rest of the 50. Tick them off as you go.

Practice a Google interview with me

I'm Alex. I'll pick 2 problems from Google's list at your level and interview you like a real Google round.

20medium problems
20full breakdowns
50Google problems in all

By difficulty: All (50) · Easy (26) · Medium (20) · Hard (4)

Start Google Mock Interview→

Topics

3.Longest Substring Without Repeating Characters
Full breakdownHash TableStringSliding Window
Medium+13▶ Mock
15.3Sum
Full breakdownArrayTwo PointersSorting
Medium+5▶ Mock
2.Add Two Numbers
Full breakdownLinked ListMathRecursion
Medium+3▶ Mock
128.Longest Consecutive Sequence
Full breakdownArrayHash TableUnion-Find
Medium+3▶ Mock
5.Longest Palindromic Substring
Full breakdownTwo PointersStringDynamic Programming
Medium+8▶ Mock
33.Search in Rotated Sorted Array
Full breakdownArrayBinary Search
Medium+5▶ Mock
7.Reverse Integer
Full breakdownMath
Medium▶ Mock
49.Group Anagrams
Full breakdownArrayHash TableString
Medium+9▶ Mock
560.Subarray Sum Equals K
Full breakdownArrayHash TablePrefix Sum
Medium+2▶ Mock
22.Generate Parentheses
Full breakdownStringDynamic ProgrammingBacktracking
Medium+1▶ Mock
322.Coin Change
Full breakdownArrayDynamic ProgrammingBreadth-First Search
Medium+4▶ Mock
11.Container With Most Water
Full breakdownArrayTwo PointersGreedy
Medium+6▶ Mock
17.Letter Combinations of a Phone Number
Full breakdownHash TableStringBacktracking
Medium+1▶ Mock
16.3Sum Closest
Full breakdownArrayTwo PointersSorting
Medium▶ Mock
189.Rotate Array
Full breakdownArrayMathTwo Pointers
Medium+1▶ Mock
198.House Robber
Full breakdownArrayDynamic Programming
Medium+1▶ Mock
45.Jump Game II
Full breakdownArrayDynamic ProgrammingGreedy
Medium▶ Mock
238.Product of Array Except Self
Full breakdownArrayPrefix Sum
Medium+5▶ Mock
912.Sort an Array
Full breakdownArrayDivide and ConquerSorting
Medium▶ Mock
167.Two Sum II - Input Array Is Sorted
Full breakdownArrayTwo PointersBinary Search
Medium▶ Mock

Frequently Asked Questions

What medium Google coding questions are most common?

InterviewSkool has 20 medium Google coding questions. Focus on the top 10 to 15 most common problems for the best ROI.

How many medium questions does Google have?

Google has 20 medium coding questions out of 50 total. Most interviews focus on Medium problems, so this is the most important difficulty to prepare for.

Are these Google medium questions free?

Yes. All 20 medium Google coding questions are free to browse. No sign-up required. Filter by topic and click any problem to open it on LeetCode.

Practice with a Mock Interview

Simulate real Google interview pressure with our AI interviewer.

Start Mock Interview →