READ. UNDERSTAND. PRACTICE.
Prepare for your next interview.
Explore algorithm tutorials, coding and system design questions, interview experiences, and computer science study guides.
20,926 resources · Page 158 of 872
Coding questions · ByteDance
Return the Most Frequent Integer with a Stable Tie-Breaker
Implement a frequency-based selection over a large integer array: return the most common value, using the numerically smallest value to break ties. Preserve the input and return the value itself rather than its count or position.
Coding questions · Robinhood
Return the Ten Most Frequent Words
Rank the ten most frequent words with deterministic lexical tie-breaking, handling repeated words and collections with fewer than ten distinct entries.
Coding questions · Capital One
Return the Top Two Teams by Points, Goal Difference, and Tie Breakers
Rank competition teams by points, goal difference, goals scored, and an explicit index tie rule, then return the first two team indices.
Coding questions · Meta
Return top-3 content per category
This question evaluates the ability to perform grouped top-k selection, deterministic tie-breaking and ordering, and to reason about algorithmic efficiency when manipulating structured datasets in the Data Manipulation (SQL/Python) domain for a Data Engineer role.
Coding questions · Netflix
Return valid task order from prerequisites
This question evaluates proficiency in graph algorithms, notably topological sorting and cycle detection, as well as algorithmic complexity analysis and handling of dependency constraints.
Coding questions · Voleon
Return Words in Repeated Anagram Groups
Return all input occurrences belonging to repeated anagram groups, preserving order and duplicates with multiplicity-aware letter-count signatures.
Coding questions · Microsoft
Reverse linked list in fixed-size groups
This question evaluates proficiency with singly linked list manipulation, pointer/reference management, in-place group operations, and complexity reasoning including time and constant extra space.
Coding questions · Meta
Reverse sublist between equal-value nodes
This question evaluates linked-list manipulation and pointer-management skills, focusing on reversing an in-place sublist between two nodes with equal values while respecting O(n) time and O(1) extra space constraints.
Coding questions · ByteDance
Reverse Words While Preserving Spaces
This question evaluates proficiency in string manipulation, tokenization, whitespace handling, and careful edge-case reasoning when reversing word order while either normalizing or preserving space patterns.
Coding questions · Airbnb
Review Python geodata code
This question evaluates proficiency in Python code review and geolocation data-processing, including competencies in readability, correctness, performance optimization, and architectural scalability.
Coding questions · Uber
Robot Grid Route with Charging Cells: Fewest Charges, Then Battery, Then Moves
A grid pathfinding problem in which a robot travels from a start cell to a destination through open, blocked and charging cells, spending one battery unit per move and refilling at chargers. The best route is ranked by fewest charging stops, then smallest required battery capacity, then fewest moves.
Coding questions · Apple
Rotate a Matrix In Place
This question evaluates proficiency in in-place matrix and array manipulation, spatial data transformation, and reasoning about time and space complexity.
Coding questions · Sig
Rotate a Square Matrix Clockwise While Both Diagonals Stay Fixed
Rotate every element of a square matrix that lies off both diagonals by 90 degrees clockwise a given number of times, leaving the main-diagonal and anti-diagonal values in place. It tests precise index mapping, handling of odd and even matrix sizes, and bug-free simulation under timed assessment conditions.
Coding questions · Capital One
Rotate matrix and find max lamp coverage
This question evaluates array and matrix manipulation, in-place algorithm design, interval processing (sweep-line) and interval merging skills, testing competencies in algorithm design, complexity analysis, and robust edge-case reasoning within the Coding & Algorithms domain.
Coding questions · Abridge
Run-Length Compress a Character List With Multi-Digit Counts
From an Abridge online assessment: run-length compress a list of characters, writing each run of equal adjacent characters as the character followed by its length, with lengths of 10 or more split into separate digit characters. It tests careful run handling and the in-place, constant-space form of the problem.
Coding questions · Upstart
Scale Recipe Quantities Without Changing Product Descriptions
Multiply only the leading quantity in each ingredient line, preserving recipe order, product wording, and numbers inside descriptions.
Coding questions · Snowflake
Schedule dependent services with layered startup
This question evaluates understanding of graph algorithms (topological ordering and cycle detection), layered dependency extraction, and parallel scheduling under resource constraints, testing algorithm design and complexity reasoning in the Coding & Algorithms domain.
Coding questions · Scale AI
Schedule Ready Tasks by Deadline
This question evaluates understanding of task scheduling and dependency management in directed acyclic graphs, along with algorithmic selection and data-structure-based optimization for repeated minimum-deadline retrieval.
Coding questions · TikTok
Schedule Seller Tasks with Tier-Weighted Round Robin
Schedule arriving seller tasks by per-seller priority and FIFO order while rotating fairly across sellers. The exercise adds tier weights, seller activation and reactivation, empty queues, null processing results, and persistent turn state across interleaved operations.
Coding questions · Amazon
Search a Folder Hierarchy with Extensible Document Filters
Search a folder hierarchy with strict size and optional type filters, deterministic traversal, extensible predicate composition, and meaningful boundary tests.
Coding questions · Goldman Sachs
Search for a Target in a Matrix Sorted by Rows and Columns
Decide whether a target value appears in an integer matrix whose rows and columns are each sorted in non-decreasing order. It tests how well a candidate exploits ordering in two directions to avoid scanning every cell, and how carefully they handle duplicates, single-row inputs, and boundary values.
Coding questions · Amazon
Search target in unknown-length sorted array
This question evaluates algorithm design and implementation skills for search algorithms on array-like interfaces with unknown length, focusing on bounds discovery, handling out-of-bounds sentinels, duplicate elements, and rigorous time and space complexity analysis.
Coding questions · LinkedIn
Second-Smallest Value in a Min Tournament Tree in Logarithmic Time
Given a full binary tournament tree stored in array order, where each internal node holds the smaller of its two children, return the second-smallest leaf value in logarithmic time. It tests reasoning about how a knockout structure constrains where the runner-up can be, array-based tree indexing, and justifying a partial search.
Coding questions · TikTok
Segment a message with width-constrained suffixes
This question evaluates algorithm design and string-processing skills, focusing on constraint-aware segmentation with variable-length suffix metadata and the accompanying complexity analysis.