Katkat

practice a little every day, paws crossed ♡

Coding & Algorithms Interview Questions

Practice 9403 coding, system design and machine learning questions from 546 companies, sorted by role, topic and interview round. Every question has step-by-step hints, a code runner that supports 8 languages and an AI mentor; members also get the full solution walkthrough.

9403
Questions
546
Companies
11
Topics
8
Languages

Showing 3151–3180 of 3276 results

  • WaymoMediumSoftware Engineer
    2D Max Pooling That Also Returns the Coordinates of Each Window Maximum

    Implement 2D max pooling with a k-by-k window and a stride, and for each window also return the row and column of its maximum, breaking ties by smallest row then column. Tests window indexing without padding, output sizing, and argmax bookkeeping.

    Coding & AlgorithmsOnsite
  • WaymoMediumSoftware Engineer
    Build an Expression That Reaches a Target

    This problem tests your ability to use recursion with backtracking or dynamic programming to partition a sequence of numbers and apply operators to satisfy a target value.

    Coding & AlgorithmsTechnical ScreenRecursionBacktrackingMemoization
  • WaymoMediumSoftware Engineer
    Can You Reach the Last Index?

    This problem tests your ability to determine reachability in a sequence using greedy strategy or dynamic programming to optimize pathfinding.

    Coding & AlgorithmsOnsiteArraysGreedyDynamic Programming
  • WaymoMediumSoftware Engineer
    Character at a Position in a Run-Length Encoded String Without Decoding

    Given a run-length encoded string such as B1A2E3C1, return the character at each queried position of the decoded sequence without decoding it. Runs can be very long, so the task tests prefix sums over run lengths and fast lookup per query.

    Coding & AlgorithmsOnsite
  • WaymoMediumSoftware Engineer
    Compute ETA between two map nodes

    This problem tests your ability to implement Dijkstra's algorithm to find the shortest path in a weighted directed graph representing a road network.

    Coding & AlgorithmsTechnical ScreenGraphsShortest PathDijkstra
  • WaymoMediumSoftware Engineer
    Compute Max Pooling Values and Coordinates

    This problem tests your ability to manipulate 2D arrays, manage sliding window bounds, and track metadata (indices) efficiently during a data transformation task.

    Coding & AlgorithmsTechnical ScreenArrays2D-GridSliding-Window
  • WaymoMediumSoftware Engineer
    Count Squares Formed by Intersections of Vertical and Horizontal Segments

    Given vertical and horizontal line segments defined by start and end points, count the axis-aligned squares whose four corners are all segment intersection points. Tests intersection detection, square enumeration, and faster ways to find which segments cross each other.

    Coding & AlgorithmsOnsite
  • WaymoHardSoftware Engineer
    Count Squares Formed by Segments

    Count distinct axis-aligned squares whose full sides are covered by horizontal and vertical integer-coordinate segments. Normalize and merge collinear coverage, avoid duplicate geometric squares, support overlapping segments and negative coordinates, and index interval coverage efficiently.

    Coding & AlgorithmsTechnical Screen
  • WaymoMediumMachine Learning Engineer
    Debug Tensor Conversion Bugs

    This question evaluates debugging and implementation-level skills in tensor and array manipulation, focusing on aliasing behavior, conversion between column lists and ndarrays, correct handling of non-divisible chunking, and writing tests for these issues.

    Coding & AlgorithmsTechnical Screen
  • WaymoMediumSoftware Engineer
    Decide If a Vehicle Is Ready to Go from Open/End Maintenance Events

    Given a vehicle maintenance log of open and end events with timestamps and maintenance types such as oil or brake, decide whether the vehicle is ready to go. The problem tests chronological event processing with a stable tie rule, per-type state tracking, and detecting unmatched ends, overlapping opens, and tasks left open.

    Coding & AlgorithmsTechnical Screen
  • WaymoMediumSite Reliability Engineer
    Determine Complete Interval Coverage

    This question evaluates understanding of interval coverage, streaming or online algorithms, and data structures for maintaining dynamic unions of intervals as points arrive.

    Coding & AlgorithmsTechnical Screen
  • WaymoEasyData Scientist
    Determine earliest collision among moving cars

    This question evaluates proficiency in kinematics, computational geometry, numerical root-finding, and scalable algorithm design for collision detection among moving objects, including attention to numerical precision and overlapping trajectories.

    Coding & AlgorithmsTechnical Screen
  • WaymoMediumSoftware Engineer
    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 & AlgorithmsOnsite
  • WaymoMediumSoftware Engineer
    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 & AlgorithmsOnsite
  • WaymoMediumSoftware Engineer
    Expand Nested Repetition Expressions

    This problem tests your ability to parse nested patterns and handle recursion or stack-based state management to expand strings defined by repetition rules.

    Coding & AlgorithmsTechnical ScreenStringsRecursionStack
  • WaymoMediumFrontend Engineer
    Filter Matching Subtrees from an N-Ary Tree

    This problem tests tree traversal techniques, string matching, and the ability to handle iterative tree processing to avoid stack overflow in deep structures.

    Coding & AlgorithmsOnsiteTreesN-ary TreeAlgorithms
  • WaymoHardSoftware Engineer
    Find Dictionary Words Represented by Repeated Letters

    Match dictionary words to a repeated-letter string using ordered run characters and count inequalities, with explicit stretch, duplicate, and empty-string semantics.

    Coding & AlgorithmsOnsite
  • WaymoMediumSoftware Engineer
    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 & AlgorithmsTechnical Screen
  • WaymoMediumSoftware Engineer
    Find Shortest Knight Path

    This problem tests the ability to model a constrained movement pattern on a 2D grid as an unweighted graph and efficiently find the shortest path using Breadth-First Search (BFS).

    Coding & AlgorithmsTechnical ScreenBFSGraphGrid
  • WaymoMediumSoftware Engineer
    Find Shortest Paths to Target Nodes

    This question evaluates knowledge of graph algorithms and algorithmic problem-solving, specifically computing shortest paths in weighted directed graphs and handling unreachable targets.

    Coding & AlgorithmsTechnical Screen
  • WaymoHardSoftware Engineer
    Find a Repeating Vehicle Program Under Fuel and Memory Limits

    Find any repeating vehicle program of at most ten commands with fuel and obstacles, using complete bounded search, terminating simulation, and explicit execution assumptions.

    Coding & AlgorithmsOnsite
  • WaymoMediumSoftware Engineer
    Find the Best Meeting Point on a Grid

    This problem tests your ability to use multi-source Breadth-First Search (BFS) to find a point that minimizes total travel distance across a grid with obstacles.

    Coding & AlgorithmsTechnical ScreenBFSGraphGrid
  • WaymoMediumSoftware Engineer
    Fixed-Capacity Least-Recently-Used Cache Driven by Get and Put Operations

    Design a fixed-capacity least-recently-used cache as an object-oriented exercise, driven here by a list of get and put operations whose read results you return. Tests O(1) lookup, recency updates on reads and writes, and correct eviction order.

    Coding & AlgorithmsOnsite
  • WaymoMediumSoftware Engineer
    Format Bytes as a Hex and ASCII Dump

    This problem tests string manipulation, modular arithmetic, and careful handling of formatting constraints to produce a standardized hexadecimal memory dump.

    Coding & AlgorithmsOnsiteStringsFormattingImplementation
  • WaymoHardMachine Learning Engineer
    Generate Instructions for a Blind Maze Robot

    This question evaluates a candidate's ability to design algorithmic strategies for state-space synchronization, graph traversal, and reasoning under partial observability in grid environments.

    Coding & AlgorithmsOnsite
  • WaymoMediumSoftware Engineer
    Implement Fibonacci generator, balanced BST, frozenset

    This problem tests your understanding of Python generators for sequence generation, the mechanics of tree rotations in self-balancing data structures, and the requirements for implementing immutable, hashable collections.

    Coding & AlgorithmsTechnical ScreenPythonGeneratorsBST
  • WaymoMediumData Scientist
    Implement Safe Average Function

    This question evaluates proficiency with basic programming fundamentals including numeric computation, handling edge cases such as empty inputs, input immutability, and data type consistency.

    Coding & AlgorithmsOnline Assessment
  • WaymoEasyData Scientist
    Implement nested template string substitution

    This problem tests your ability to handle recursive data structures and string parsing by expanding nested placeholders within a template string while identifying potential circular dependencies.

    Coding & AlgorithmsOnsiteRecursionString ProcessingMemoization
  • WaymoMediumSoftware Engineer
    In-Place Rectangle Copy Within a 2D Array Using O(1) Extra Memory

    Copy a rectangular block of a 2D array to another position in the same array, in place with O(1) extra memory, where the source and destination blocks may overlap. Tests choosing a safe copy direction so that no value is overwritten before it is read.

    Coding & AlgorithmsOnsite
  • WaymoMediumSoftware Engineer
    Insert +, -, * and Parentheses Between Ordered Numbers to Reach a Target

    Given numbers in a fixed order and a target, insert +, - or * between them and add parentheses to reach the target, returning the lexicographically smallest fully parenthesized expression or an empty string. Starts with three numbers and generalizes to n, testing exhaustive search over expression trees.

    Coding & AlgorithmsOnsite