READ. UNDERSTAND. PRACTICE.
Coding questions
Explore algorithm tutorials, coding and system design questions, interview experiences, and computer science study guides.
1,899 resources · Page 34 of 80
Coding questions · Uber
Find earliest common meeting slot
An Uber Software Engineer onsite coding question: given N attendees' busy calendars as sorted half-open intervals plus per-attendee working hours, find the earliest time window of length d in which everyone is simultaneously free, or return -1. It covers the merge-busy/scan-gaps algorithm and complexity, then follow-ups on scaling to N participants, time zones and DST, very large fragmented inputs, clock-injection API design, and concurrency control for live calendar updates.
Coding questions · Uber
Find Earliest Full Connectivity Timestamp
This question evaluates understanding of graph connectivity and temporal event processing, examining how pairwise interactions over time can merge components into a single connected set.
Coding questions · OpenAI
Find earliest supporting dependency version
This question evaluates a candidate's ability to design efficient search algorithms and reason about algorithmic complexity under constraints such as non-monotonic predicate behavior and a rate-limited black-box API.
Coding questions · Uber
Find earliest time all riders become connected
Assesses understanding of graph connectivity, temporal event processing, and dynamic graph data-structures for determining when a set of nodes becomes a single connected component.
Coding questions · Waymo
Find Every Island in a Grid and Measure Its Boundary with Water
A grid coding problem that asks you to find every island of land cells and report the length of each island's boundary with water, including enclosed lakes and grid edges. It tests grid traversal, connected components, careful edge counting, and deterministic output ordering.
Coding questions · Otter.Ai
Find Every Project with the Most Employees
Build a PostgreSQL aggregation that returns every project tied for the largest employee count. This compact exercise checks grouping, maximum selection, tie preservation, empty-input behavior, and careful use of primary-key guarantees.
Coding questions · Ramp
Find exit URL via BFS API calls
This question evaluates graph traversal and resilience when interacting with HTTP APIs, covering BFS/DFS reasoning, cycle detection to avoid infinite loops, retry handling for transient HTTP 500 responses, and timeout management for slow pages.
Coding questions · TikTok
Find first and last index of target
This question evaluates mastery of searching algorithms and algorithmic complexity analysis, particularly the ability to locate boundary positions within a sorted array.
Coding questions · Databricks
Find first CIDR block covering IP
This question evaluates a candidate's understanding of IPv4 and CIDR notation, ability to perform prefix-based address containment checks using bitwise reasoning, and competence in parsing and efficient lookup across many ranges.
Coding questions · Uber
Find First Local Minimum
This question evaluates array-processing and algorithmic reasoning skills, specifically the ability to identify local minima and handle index-based and boundary-case conditions.
Coding questions · Amazon
Find first unique character
Find first unique character evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Coding questions · Hot Agent Startup
Find High-Intensity Time Periods
This question evaluates processing of time-series step-function data, detection of maximal intervals where a numeric intensity exceeds a threshold, and edge-case reasoning such as duplicate timestamps and observation-end boundaries within the Coding & Algorithms category.
Coding questions · ByteDance
Find Highest Product Segment
This question evaluates algorithmic problem-solving with arrays and numerical edge cases, including reasoning about products across contiguous segments and sign/zero handling.
Coding questions · Airbnb
Find Hosts Meeting Listing, Rating, and Review-Coverage Rules
Find qualifying hosts with SQL using listing counts, a supplied rating cutoff, and exact recent-review coverage across their listings.
Coding questions · Airbnb
Find hotel pairs to cover a split stay
This question evaluates reasoning about interval coverage, set membership, combinatorial pairing of resources, and efficient processing of unsorted availability lists, reflecting skills in algorithm design and use of appropriate data structures.
Coding questions · Snapchat
Find index of first unique character
Find index of first unique character evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Coding questions · Walmart Labs
Find Index Pairs of Matching Elements in Arrays
This question evaluates the ability to work with sorted arrays, index mapping, duplicate handling, and reasoning about correctness and algorithmic complexity.
Coding questions · Meta
Find integer in most intervals
This question evaluates a candidate's ability to reason about interval overlap counting, manage range endpoints efficiently, and balance time-space trade-offs when identifying points that maximize coverage.
Coding questions · Applied Intuition
Find intersection of two line segments
This question evaluates a candidate's skills in computational geometry and numerical robustness, focusing on line-segment intersection reasoning, endpoint touching, collinearity, and precision handling.
Coding questions · Meta
Find k most frequent elements, discuss O(n)
Find k most frequent elements, discuss O(n) evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Coding questions · Meta
Find K-th Largest and Longest Vacation
This pair of problems evaluates array manipulation and algorithmic problem-solving skills, specifically order-statistics for selecting the k-th largest element and maximizing consecutive sequences under constrained transformations for the vacation streak problem.
Coding questions · TikTok
Find k-th largest element in array
This question evaluates array manipulation, selection algorithms, in-place partitioning techniques, and complexity analysis within the domain of coding and algorithms.
Coding questions · Meta
Find Kth Largest and Tree Ancestors
This question evaluates algorithmic problem-solving and data-structure competencies, focusing on selection algorithms and time/space complexity reasoning for the k-th largest element and tree traversal, lowest common ancestor discovery with attention to BST properties, parent pointers, and external-memory constraints.
Coding questions · Point72
Find kth missing integer and redundant operations
This paired question evaluates array and algorithmic skills — specifically order-statistics and missing-number reasoning for the k-th missing positive, and time-window aggregation with frequency tracking for detecting redundant log events — within the coding & algorithms domain.