Coding interview questions

Uber Hard Coding Interview Questions (DSA)

The 19 hard DSA problems Uber 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 Uber interview with me

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

19hard problems
19full breakdowns
50Uber problems in all

By difficulty: All (50) · Easy (4) · Medium (27) · Hard (19)

Start Uber Mock Interview→

Topics

305.Number of Islands II
Full breakdownArrayHash TableUnion-Find
815.Bus Routes
Full breakdownArrayHash TableBreadth-First Search
2858.Minimum Edge Reversals So Every Node Is Reachable
Full breakdownDynamic ProgrammingDepth-First SearchBreadth-First Search
871.Minimum Number of Refueling Stops
Full breakdownArrayDynamic ProgrammingGreedy
827.Making A Large Island
Full breakdownArrayDepth-First SearchBreadth-First Search
3367.Maximize Sum of Weights after Edge Removals
Full breakdownDynamic ProgrammingTreeDepth-First Search
Word Search II
Full breakdownArrayStringBacktracking
Hard+2▶ Mock
564.Find the Closest Palindrome
Full breakdownMathString
269.Alien Dictionary
Full breakdownArrayStringDepth-First Search
Hard+2▶ Mock
2402.Meeting Rooms III
Full breakdownArrayHash TableSorting
410.Split Array Largest Sum
Full breakdownArrayBinary SearchDynamic Programming
2791.Count Paths That Can Form a Palindrome in a Tree
Full breakdownHash TableBit ManipulationTree
2503.Maximum Number of Points From Grid Queries
Full breakdownArrayTwo PointersBreadth-First Search
1931.Painting a Grid With Three Different Colors
Full breakdownDynamic ProgrammingGraph Coloring
2954.Count the Number of Infection Sequences
Full breakdownArrayMathCombinatorics
295.Find Median from Data Stream
Full breakdownTwo PointersDesignSorting
Hard+6▶ Mock
297.Serialize and Deserialize Binary Tree
Full breakdownStringTreeDepth-First Search
Hard+4▶ Mock
1639.Number of Ways to Form a Target String Given a Dictionary
Full breakdownArrayStringDynamic Programming
588.Design In-Memory File System
Full breakdownHash TableStringDesign

Frequently Asked Questions

What hard Uber coding questions are most common?

InterviewSkool has 19 hard Uber coding questions. Focus on the top 10 to 15 most common problems for the best ROI.

How many hard questions does Uber have?

Uber has 19 hard coding questions out of 50 total. Hard problems are less common but can appear in senior-level interviews.

Are these Uber hard questions free?

Yes. All 19 hard Uber 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 Uber interview pressure with our AI interviewer.

Start Mock Interview →