You're practising as a guest. Your progress is saved in this browser only.
Home Interviews Urban Company Coding questions U Urban Company coding interview questions Product E-commerce and consumer India Machine coding / LLD AI-assisted coding
Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.
Overview Coding System design Low-level design Behavioral Rounds Discussions Any difficulty Easy Medium Hard Any status Not started Revision due In progress Done Most asked here Asked at most companies Easiest first Hardest first A to Z Pick an unsolved one
Your level : practise every reported question . Focus All 26
All 26 Arrays & Hashing 8 Graphs 7 Binary Search 4 Dynamic Programming 2 Trees & BST 2 Heaps 1 Intervals 1 Linked List 1
Progress Title Difficulty Topic How often here Also asked at Next step Pacific Atlantic Water Flow Multi source BFS Medium Graphs Google, Amazon, Nutanix +3 Solve Trapping Rain Water Two Pointer Hard Arrays & Hashing Google, Amazon, Microsoft +88 Solve Candy Greedy Hard Arrays & Hashing Nutanix, Dropbox, Goldman Sachs +7 Solve Maximum Profit in Job Scheduling 1D DP Hard Dynamic Programming Amazon, Airbnb, Snowflake +15 Solve Number of Islands Connected Components Medium Graphs Google, Amazon, Microsoft +114 Solve Rotting Oranges Multi source BFS Medium Graphs Google, Amazon, Microsoft +48 Solve Course Schedule II Topological Sort Medium Graphs Google, Amazon, Meta +42 Solve Find Peak Element Unique 1-D Binary Search Medium Binary Search Meta, Netflix, Uber +26 Solve Evaluate Division Connected Components Medium Graphs Amazon, Apple, Uber +17 Solve Frequency of the Most Frequent Element Sliding Window · Variable Medium Arrays & Hashing Goldman Sachs, Red Hat, Brex +1 Solve Surrounded Regions DFS - Complement Trick Medium Graphs Apple, Uber, Nutanix +4 Solve Search in Rotated Sorted Array Rotated Array Medium Binary Search Amazon, Microsoft, Apple +59 Solve Binary Tree Cameras Postorder + Multiple Return Values Hard Trees & BST Nutanix, eBay, Quora +5 Solve Split Array Largest Sum Binary Search on Answer Space Hard Binary Search Amazon, Uber, Pinterest +16 Solve Stock Price Fluctuation Advanced Medium Heaps MongoDB, Atlassian Solve Binary Tree Maximum Path Sum Postorder + Multiple Return Values Hard Trees & BST Google, Amazon, Meta +29 Solve Jump Game Greedy Medium Arrays & Hashing Google, Apple, DoorDash +28 Solve Jump Game II Greedy Medium Arrays & Hashing Google, DoorDash, Nutanix +25 Solve Longest Substring Without Repeating Characters Sliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +114 Solve Merge Intervals Basics Medium Intervals Google, Amazon, Microsoft +107 Solve Longest Common Subsequence Strings Medium Dynamic Programming Google, Amazon, Apple +20 Solve Copy List with Random Pointer Miscellaneous Medium Linked List Google, Amazon, Microsoft +23 Solve Clone Graph BFS / DFS Basics Medium Graphs Google, Microsoft, Meta +11 Solve Find Minimum in Rotated Sorted Array Rotated Array Medium Binary Search Microsoft, Nutanix, Expedia Group +11 Solve Valid Palindrome Two Pointer Easy Arrays & Hashing Microsoft, Meta, Apple +53 Solve Find the Index of the First Occurrence in a String String Matching (KMP) Easy Arrays & Hashing Dropbox, Zscaler, Discord +12 Solve
No questions match these filters.
Also reported, being added to AlgoRung (7) Paint House IV · Minimum Deletions to Make String Balanced · Count of Smaller Numbers After Self · Aggressive Cows · Decode Ways II · Can Make Palindrome from Substring · Missing Element in Sorted Array
Questions people ask What coding questions does Urban Company ask most? Pacific Atlantic Water Flow, Trapping Rain Water, Candy, Maximum Profit in Job Scheduling, Number of Islands, Rotting Oranges, Course Schedule II, Find Peak Element.
Which topics come up in Urban Company coding rounds? graphs, dynamic programming, binary search, sliding window, trees, greedy.
How hard are Urban Company coding questions? Of the reported questions, 2 are easy, 18 medium and 6 hard. 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.