READ. UNDERSTAND. PRACTICE.
Coding questions
Explore algorithm tutorials, coding and system design questions, interview experiences, and computer science study guides.
1,899 resources · Page 30 of 80
Coding questions · Uber
Determine Whether a Word Exists in a Character Grid
Practice a Uber coding interview problem focused on determine whether a word exists in a character grid. The prompt emphasizes edge cases, clean implementation, and verifiable test behavior without revealing the solution.
Coding questions · Snapchat
Determine Whether a Word Transformation Exists
This question evaluates a candidate's ability to model single-character word transformations as a graph/search problem, testing competencies in graph traversal, string manipulation, and state-space connectivity within the Coding & Algorithms domain.
Coding questions · Snapchat
Determine Whether Courses Can Be Completed
This question evaluates understanding of graph modeling, directed cycle detection, and dependency resolution in the context of course prerequisites. It is commonly asked in the coding & algorithms domain because it reveals a candidate's algorithmic problem-solving ability and practical application of graph algorithms (expected O(V+E) time), testing practical implementation skills rather than only conceptual theory.
Coding questions · Purestorage
Determine whether points form squares
This question evaluates computational geometry, combinatorial counting, and algorithmic optimization skills by requiring validation of a non-degenerate square from four 2D integer points and counting distinct squares in a larger point set, and it falls under the Coding & Algorithms category.
Coding questions · ByteDance
Determine whether squares can fit
This question evaluates spatial reasoning, combinatorial packing, and constraint-satisfaction skills in the context of placing integer-aligned squares within an m x n rectangle.
Coding questions · Pinterest
Develop Auto-Complete System for Dish Suggestions
This question evaluates a candidate's competency in building efficient auto-complete systems, covering prefix-based search, string processing, ranking by popularity, and handling real-time updates and performance trade-offs.
Coding questions · LinkedIn
Device Status without Timestamps
This question evaluates data manipulation and behavioral analytics competencies, emphasizing aggregation, deduplication, distinct counts, and date-based filtering to measure author and viewer activity.
Coding questions · Yahoo
Diagnose DAU drop with SQL by country
This question evaluates SQL data-manipulation and analytical skills, including DAU aggregation with per-day deduplication, date-range baseline averaging, experiment-treatment exclusion, country-level cohorting, and new vs returning user segmentation.
Coding questions · Amazon
Diagnose MySQL joins and GROUP BY/HAVING errors
This question evaluates mastery of SQL join semantics (LEFT, RIGHT, FULL OUTER emulation, CROSS), NULL equality and duplicate handling, GROUP BY/HAVING behavior under ONLY_FULL_GROUP_BY, aggregation result shaping and type/format conversions in the Data Manipulation (SQL/Python) domain.
Coding questions · Rbcroyalbank
Differentiate pandas objects and SQL filters
This question evaluates understanding of pandas data structures (Series vs DataFrame), SQL filtering and aggregation semantics (WHERE vs HAVING), and the ability to construct SQL queries to identify duplicate records.
Coding questions · Waymo
Does a Seven-Segment LED Digit Display Read the Same Rotated 180 Degrees?
Decide whether a row of digits on a seven-segment LED display reads the same after the whole display is rotated by 180 degrees. Tests modeling each digit as lit segments, mapping segments under rotation, and comparing the reversed display.
Coding questions · Harvey
Eager Spreadsheet Formulas with Constant-Time Reads
Implement eager spreadsheet formulas with constant-time cached reads, transitive dependency updates, cycle rejection, and atomic definition replacement.
Coding questions · Apple
Encode and Rebuild a Binary Tree
This question evaluates skills in data structure serialization and deserialization, binary tree representation, and algorithmic design for deterministic data formats.
Coding questions · Epic
Encode Letters with a Telephone Keypad
Encode letters as telephone keypad presses, ignoring case and spaces and inserting a separator whenever consecutive encoded letters share the same key.
Coding questions · Waymo
End-Picking Number Game: Can the First Player Win Under Optimal Play?
Two players alternately take a number from either end of a row and add it to their score; decide whether the first player can finish with at least as many points as the second under optimal play. Tests minimax reasoning and memoized game-state search.
Coding questions · Amazon
Ensure Correct Numeric Ordering in Visit ID Comparison
This question evaluates understanding of data typing and comparison semantics in SQL and Python, specifically how string versus numeric representations affect ordering and sequencing; it is categorized under Data Manipulation (SQL/Python) and examines both conceptual understanding and practical application.
Coding questions · ByteDance
Enumerate All Simple Directed Cycles
Enumerate distinct simple directed cycles using a canonical representation that handles rotations, opposite directions, and self-loops.
Coding questions · ByteDance
Equalize Root-to-Leaf Sums in an N-ary Tree
Find the minimum total increments needed to make every root-to-leaf path in a nonnegative-valued N-ary tree have the same sum. The parent-array input may contain 200,000 nodes and a depth beyond Python's recursion limit.
Coding questions · Airbnb
Estimate Page-Visit Duration from the Next User Event
Estimate page-visit duration with each user’s next event, deterministic timestamp ties, and null durations for final events.
Coding questions · Thumbtack
Estimate Two Conditional Win Probabilities by Simulation
This question tests practical coding ability in probabilistic simulation, requiring implementation of a Monte Carlo method to estimate conditional win probabilities under two decision strategies. It assesses a data scientist's skill in translating a classic probability scenario into working randomized code rather than relying on closed-form analysis.
Coding questions · Instacart
Evaluate an arithmetic expression
This question evaluates a candidate's ability to implement expression parsing and evaluation, assessing competencies in string parsing, operator precedence, parentheses handling, and integer arithmetic semantics including truncation toward zero.
Coding questions · Aurora
Evaluate an Arithmetic Expression
Evaluate arithmetic expressions containing non-negative integers and the four basic operators without using eval. Preserve precedence and left associativity, implement division that truncates toward zero, and process expressions up to 300,000 characters efficiently.
Coding questions · Glean
Evaluate an Integer Expression with + - * / and No Parentheses
Evaluate an arithmetic expression string containing non-negative integers, plus, minus, times, integer division and spaces, but no parentheses, respecting operator precedence and left-to-right evaluation. Tests single-pass parsing, precedence handling and truncating integer division.
Coding questions · Snowflake
Evaluate arithmetic expression with variables
This question evaluates implementation skills for a linear-time expression parser and evaluator, covering tokenization, variable substitution, operator precedence and associativity (including unary +/−), parentheses handling, integer arithmetic semantics (division truncation), error detection, and adherence to O(L) time and space constraints.