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 1381–1410 of 3276 results

  • IXL LearningMediumSoftware Engineer
    Find value on most distinct levels

    This question evaluates a candidate's understanding of binary tree structures, level-wise aggregation and frequency analysis, along with algorithm design and complexity reasoning.

    Coding & AlgorithmsTechnical Screen
  • IXL LearningMediumSoftware Engineer
    Identify and prevent code-breaking inputs

    Identify and prevent code-breaking inputs 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 & AlgorithmsTechnical Screen
  • IXL LearningHardSoftware Engineer
    Maintain a Stream Median

    This question tests the ability to maintain dynamic order statistics in a streaming context, requiring an efficient way to insert elements and compute the median in logarithmic time.

    Coding & AlgorithmsTechnical ScreenHeapsData StructuresAlgorithms
  • IXL LearningMediumSoftware Engineer
    Solve snake game, peak search, and task scheduling

    Solve snake game, peak search, and task scheduling 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 & AlgorithmsTechnical Screen
  • IllumioMediumSoftware Engineer
    Count Regions in a Binary Grid

    This problem tests your ability to navigate a 2D grid and identify connected components using graph traversal techniques like Depth-First Search (DFS) or Breadth-First Search (BFS).

    Coding & AlgorithmsOnsiteDFSBFSGraph
  • IllumioMediumSoftware Engineer
    Solve Matrix Traversal and Pair Sum

    This problem tests your ability to manipulate 2D matrix indices for spiral traversal and apply efficient hash-based lookups to solve the two-sum problem within a specific sequence.

    Coding & AlgorithmsOnsiteMatrixArrayHash Table
  • ImbueHardSoftware Engineer
    Max Score of an Alternating Left-Right Walk Over a Row of Signed Cells

    A token walks a row of up to 50 signed cells, alternating right and left moves, and each move adds the sum of the cells it covers while the score must never drop below zero. Find the best score within up to 400 million moves, testing state design, the non-negative score constraint, and speed when the move count is huge.

    Coding & AlgorithmsHR Screen
  • ImcHardSoftware Engineer
    Choose container set to minimize waste

    An IMC software engineer take-home asking you to pick the single container set that fulfills all medicine orders with minimum total waste. It tests ceiling-style binary search, per-set validity checks, smallest-index tie-breaking, and efficient handling of inputs up to 10^5 to avoid an O(n*T) timeout.

    Coding & AlgorithmsOnline Assessment
  • ImcMediumSoftware Engineer
    Find k-th recipient in command propagation order

    This question evaluates understanding of tree traversals, subtree indexing, and order-statistics on rooted trees, focusing on DFS-preorder propagation when children are visited in ascending id.

    Coding & AlgorithmsOnline Assessment
  • IndeedMediumSoftware Engineer
    Implement Get and Insert in an Unrolled Linked List

    Implement indexed get and insert in an unrolled linked list, preserving block capacity, occupancy, sequence order, and split behavior.

    Coding & AlgorithmsTechnical Screen
  • InstacartMediumSoftware Engineer
    Build a Progressive Banking System

    This problem tests your ability to manage state transitions, handle expiring reservations, and maintain consistent ledger balances across multiple accounts.

    Coding & AlgorithmsTechnical ScreenHash MapState ManagementTransaction Processing
  • InstacartMediumSoftware Engineer
    Calculate a Basket Total from Delimited Product Records

    Parse pipe-delimited shopping cart records to compute the total basket cost in integer cents, properly accumulating repeated SKUs and handling zero-quantity items.

    Coding & AlgorithmsOnsitestringsparsinghash-table
  • InstacartMediumSoftware Engineer
    Compute and optimize average wait time

    This question evaluates skills in scheduling and queueing algorithms, simulation of service systems, and reasoning about time and space complexity when computing average waiting times.

    Coding & AlgorithmsOnsite
  • InstacartMediumSoftware Engineer
    Compute average customer waiting time

    Compute average customer waiting time 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 & AlgorithmsOnsite
  • InstacartMediumSoftware Engineer
    Compute delivery wait times

    This question evaluates competence in event-driven simulation, scheduling and queueing concepts, and algorithmic analysis by requiring computation of average customer waiting time for single and multiple shoppers.

    Coding & AlgorithmsOnsite
  • InstacartHardSoftware Engineer
    Decode a password string into letters

    This problem tests your ability to parse and reconstruct a string based on specific numeric encoding rules, requiring careful index tracking and stack-based or recursive logic.

    Coding & AlgorithmsTechnical ScreenStringsStackRecursion
  • InstacartMediumSoftware Engineer
    Decode an encoded string

    This question evaluates string parsing and manipulation skills, particularly handling nested repetition encodings and managing state when expanding bracketed substrings.

    Coding & AlgorithmsTechnical Screen
  • InstacartEasySoftware Engineer
    Evaluate Ordered Variable Definitions with Addition and Subtraction

    Evaluate ordered variable definitions and plus/minus expressions with an explicit directional grammar, while distinguishing assignment lookup from general equation solving.

    Coding & AlgorithmsOnsite
  • InstacartMediumSoftware Engineer
    Evaluate an arithmetic expression

    This question tests the ability to evaluate a mathematical string containing integers, addition, subtraction, multiplication, and division, requiring an understanding of operator precedence and the use of stacks.

    Coding & AlgorithmsTechnical ScreenStackParsingMath
  • InstacartMediumSoftware Engineer
    Evaluate arithmetic expression using DFS

    This question evaluates a candidate's understanding of expression parsing and evaluation using depth-first traversal, covering competencies in recursive descent or stack-based DFS, operator precedence, unary operators, and 64-bit integer division semantics with truncation toward zero.

    Coding & AlgorithmsHR Screen
  • InstacartMediumSoftware Engineer
    Evaluate arithmetic expression with precedence

    Instacart software-engineer onsite coding question: implement an arithmetic expression evaluator for a string of non-negative integers, +, -, *, /, parentheses, and spaces. It tests operator precedence and associativity, unary minus, 64-bit intermediates, integer division truncating toward zero, and robust handling of invalid input via a two-stack, shunting-yard, or recursive-descent parser.

    Coding & AlgorithmsOnsite
  • InstacartMediumSoftware Engineer
    Evaluate dependent variable expressions

    This question evaluates a candidate's ability to parse and evaluate assignment expressions, resolve inter-variable dependencies, and detect cycles or unsolvable references.

    Coding & AlgorithmsOnsite
  • InstacartHardSoftware Engineer
    Evaluate query ratios from equations

    This problem tests your ability to model algebraic relationships as a weighted directed graph and perform pathfinding to calculate ratios between variables.

    Coding & AlgorithmsTechnical ScreenGraphBFS/DFSMath
  • InstacartMediumBackend Engineer
    Fix the Broken Search Filter in a Book Catalog API

    This problem tests your ability to sanitize inputs and implement robust filtering logic on a collection of structured objects using multiple criteria.

    Coding & AlgorithmsOnline AssessmentFilteringStringsBackend
  • InstacartMediumSoftware Engineer
    Implement an In-Memory File Storage System

    This question evaluates the ability to design and implement efficient in-memory data structures and algorithms for stateful file management, covering string-keyed storage, size accounting, querying and sorting, and user quota enforcement.

    Coding & AlgorithmsOnline Assessment
  • InstacartMediumSoftware Engineer
    Implement bus route simulation features

    This question evaluates a candidate's skills in stateful event-driven simulation, data-structure and algorithm design for capacity-constrained boarding and dropping logic, and statistical downsampling to preserve origin–destination demand distributions.

    Coding & AlgorithmsOnsite
  • InstacartMediumSoftware Engineer
    Implement matrix-indexing and expression resolver

    This question evaluates a candidate's ability to parse structured text files, perform matrix indexing with a nonstandard origin convention, reconstruct data across multiple blocks, and resolve symbolic variable expressions and dependencies for arithmetic evaluation in the Coding & Algorithms domain.

    Coding & AlgorithmsOnsite
  • InstacartMediumSoftware Engineer
    Implement multiple coding round problems

    This problem tests your ability to manage a time-sensitive priority queue, handle dynamic variable substitution in expressions, and optimize for streaming data processing.

    Coding & AlgorithmsTechnical ScreenHeapStackParsing
  • InstacartMediumSoftware Engineer
    Implement prefix and suffix file search

    This question evaluates the ability to design and implement efficient string-indexing data structures and APIs for prefix-and-suffix matching, demonstrating competency with tries, suffix-related structures, inverted indexes, and time/space complexity trade-offs.

    Coding & AlgorithmsOnline Assessment
  • InstacartHardSoftware Engineer
    Implement store, evaluator, and parser

    This problem tests your ability to design a robust in-memory data store with versioning and TTL, implement an expression evaluator for dependencies, and parse a specialized stream of matrix data.

    Coding & AlgorithmsOnsiteData StructuresHashingRecursion