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 1471–1500 of 3276 results

  • Jane StreetHardSoftware Engineer
    Snake Game: Minimum Moves to Reach the Apple

    This question evaluates proficiency in state-space modeling, constrained grid pathfinding, and dynamic collision handling, testing skills in shortest-path reasoning and movement legality within the Coding & Algorithms domain; the level of abstraction is practical application of algorithmic techniques to simulate evolving game states rather than purely theoretical analysis. It is commonly asked in technical interviews because it requires reasoning about evolving constraints and reachable states, demonstrating an applicant's ability to model complex movement rules and perform effective search under limited grid and body-size constraints.

    Coding & AlgorithmsTechnical Screen
  • Jane StreetMediumQuantitative Trader
    Solve queue switch and coin change puzzles

    This two-part question evaluates probabilistic reasoning about expected waiting times with random queue switching and combinatorial/algorithmic counting for coin-change combinations, testing skills in probability, expectation and order statistics as well as combinatorics and dynamic programming within the Coding & Algorithms domain.

    Coding & AlgorithmsOnline Assessment
  • Jane StreetEasySoftware Engineer
    Sort trade executions into a canonical order

    This question evaluates a candidate's ability to enforce deterministic ordering and data normalization of time-series trade execution records, testing competencies in multi-key sorting, tie-breaking logic, and performance with large inputs.

    Coding & AlgorithmsOnsite
  • Jane StreetEasySoftware Engineer
    Stack Machine Interpreter with Typed Int and String Values

    This question evaluates understanding of stack-machine semantics, runtime type representation and preservation of distinct integer versus string values, plus handling mixed-type ADD behavior and output semantics.

    Coding & AlgorithmsTechnical Screen
  • Jane StreetMediumQuantitative Trader
    Two Opaque Boxes: Place or Take for Maximum Expected Payoff

    This question evaluates probabilistic reasoning, expected-value analysis, and sequential decision-making under uncertainty, testing competency in stochastic modeling, combinatorics, and optimization.

    Coding & AlgorithmsOnsite
  • Jump TradingEasySoftware Engineer
    Expand a Serial and Parallel Task Composition Specification

    Tests parsing structured workflow specifications with nested delimiters and quoted literals, then generating all concrete serial execution paths via Cartesian expansion.

    Coding & AlgorithmsOnline AssessmentString ParsingRecursionBacktracking
  • Jump TradingMediumSoftware Engineer
    Explain C++ vector, unordered_map, and virtual functions

    Explain C++ vector, unordered_map, and virtual functions 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
  • Jump TradingEasySoftware Engineer
    Identify Files That Need Synchronization

    Determine which files from a source system need to be synchronized to a destination system based on permissions, presence, size, and modification timestamps.

    Coding & AlgorithmsOnline Assessmenthash-tablestringimplementation
  • Jump TradingMediumSoftware Engineer
    Identify read-only files from permission records

    This problem tests your ability to parse Unix-style permission strings and implement filtering logic based on bitmask-like constraints.

    Coding & AlgorithmsOnline AssessmentString ParsingFilteringAlgorithms
  • Jump TradingEasySoftware Engineer
    Largest Subset With Positive Bitwise AND

    This problem tests your understanding of bitwise operations and greedy array partitioning to maximize the size of a subset that results in a non-zero bitwise AND.

    Coding & AlgorithmsTechnical ScreenBit ManipulationGreedyArrays
  • Jump TradingMediumQuantitative Researcher
    Maintain a Fixed-Window Rolling Mean in Constant Time

    Implement an efficient sliding-window mean calculation over a stream or sequence of signed integers. Tests sliding window mechanics, constant-time updates, handling integer overflow, and edge cases.

    Coding & AlgorithmsOnsiteSliding WindowArraysStreaming
  • Jump TradingMediumMachine Learning Engineer
    Solve stock trading with pattern rules

    This set of problems evaluates algorithmic skills in pattern recognition, state management, and sequence processing, specifically testing pattern-based decision rules on time-series stock data and iterative substring elimination in string processing within the Coding & Algorithms domain.

    Coding & AlgorithmsOnline Assessment
  • Jump TradingMediumMachine Learning Engineer
    Solve stock-pattern trading and substring elimination

    This question evaluates algorithmic skills in array pattern recognition and string processing, specifically detecting day-to-day sign patterns for simulated trading and repeated elimination of fixed two-character substrings; it belongs to the Coding & Algorithms domain for a Machine Learning Engineer position and targets practical application of linear-time, constant-extra-space techniques. It is commonly asked to evaluate efficient O(n) algorithm design, handling of stateful streaming simulations and in-place string reduction under tight time/space constraints, and correctness reasoning for edge cases.

    Coding & AlgorithmsOnline Assessment
  • KaratMediumSoftware Engineer
    Join tables to map userId to name

    This question evaluates a candidate's skills in relational data joining, data integration, and numeric reconciliation for mapping userId to customerName across multiple tables.

    Coding & AlgorithmsTechnical Screen
  • KaratMediumSoftware Engineer
    Validate password and list rule violations

    This question evaluates string-processing and input-validation skills, including case-insensitive substring detection, character class checks, pattern matching for special symbols, and handling edge cases like consecutive character limits.

    Coding & AlgorithmsTechnical Screen
  • KneronMediumSoftware Engineer
    Compute sum of minima with removals

    Compute sum of minima with removals 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 & AlgorithmsOnline Assessment
  • Lead BankMediumSoftware Engineer
    Implement Stock Price Query APIs

    This question evaluates skills in time-series data modeling, API and data-structure design, transactional (atomic) batch updates, concurrency control, and date/time parsing for stock price records.

    Coding & AlgorithmsTechnical Screen
  • Lead BankMediumSoftware Engineer
    Implement a versioned hash map with snapshot

    This question evaluates understanding of versioned hash maps, time-travel key-value stores, temporal retrieval semantics, and snapshot creation, testing algorithms and data-structure design in the Coding & Algorithms domain and emphasizing practical implementation with conceptual reasoning about correctness and timestamp semantics.

    Coding & AlgorithmsTechnical Screen
  • Lead BankMediumSoftware Engineer
    Process Calendar Events with Deletion, Pagination, and Overlap Queries

    This problem tests your ability to manage a dynamic set of time-interval events using a data structure that allows for logarithmic insertions, deletions, and efficient range-based queries.

    Coding & AlgorithmsOnsiteData StructuresIntervalsPagination
  • Lead BankMediumSoftware Engineer
    Process a Mutable Stock-Price Log

    Design an in-memory mutable stock price log that supports recording prices, tracking update history, calculating percentage changes across dates, and comparing performance between tickers.

    Coding & AlgorithmsOnsitehash-tabledesigndata-structures
  • Lead BankMediumSoftware Engineer
    Solve friend recommendations and time-versioned maps

    This problem tests your ability to model a time-versioned key-value store and leverage graph adjacency structures to perform multi-hop relationship recommendations.

    Coding & AlgorithmsOnsiteBinary SearchGraphsHash Maps
  • LendingClubMediumData Scientist
    Determine If Two Numbers Sum to Target

    This question evaluates a candidate's basic algorithmic fluency in array processing and the ability to reason about pairwise sums using auxiliary data structures.

    Coding & AlgorithmsTechnical Screen
  • LiftoffMediumSoftware Engineer
    Compute the Eddington number from ride distances

    This question evaluates a candidate's competence in array manipulation, ordering/selection techniques, counting thresholds, and algorithmic complexity analysis required to compute the Eddington number.

    Coding & AlgorithmsOnsite
  • LiftoffMediumSoftware Engineer
    Find degrees of connection in a LinkedIn graph

    This question evaluates understanding of graph traversal, reachability and shortest-path concepts along with the ability to manage performance constraints on large sparse graphs.

    Coding & AlgorithmsOnsite
  • LiftoffMediumSoftware Engineer
    Implement minimal RLE encode/decode with max run K

    This question evaluates proficiency in string parsing and compression techniques, specifically run-length encoding/decoding, pattern detection, and algorithmic optimization for producing minimal-length encodings under a maximum pattern length constraint.

    Coding & AlgorithmsTechnical Screen
  • LiftoffMediumSoftware Engineer
    Parse and expand an IPv6 address

    This question evaluates proficiency in IPv6 address parsing, string validation, and canonicalization, testing understanding of hexadecimal hextets and the zero-compression (::) rule within the Coding & Algorithms domain.

    Coding & AlgorithmsOnsite
  • LimeEasySoftware Engineer
    Combine Overlapping Closed Intervals Into a Sorted Disjoint List

    Given an unordered list of closed integer intervals, possibly with duplicates, nested intervals and touching endpoints, combine every chain of overlapping intervals and return the disjoint result ordered by start. It tests interval reasoning, precise overlap rules at shared endpoints, and careful handling of edge cases.

    Coding & AlgorithmsTechnical Screen
  • LinkedInEasySoftware Engineer
    Answer Repeated Shortest Word Distance Queries

    Design a data structure that preprocesses a list of words to efficiently answer repeated queries for the shortest index distance between two distinct words.

    Coding & AlgorithmsTechnical Screenhash-tabletwo-pointersdesign
  • LinkedInEasySoftware Engineer
    Arrange Nonnegative Integers to Form the Largest Number

    Tests custom sorting logic and string manipulation to arrange a list of nonnegative integers into the lexicographically largest combined numerical string.

    Coding & AlgorithmsTechnical Screensortinggreedystring
  • LinkedInMediumSoftware Engineer
    Can You Place N Objects?

    This problem tests your ability to handle greedy array traversal while maintaining specific adjacency constraints, requiring careful management of boundary indices.

    Coding & AlgorithmsTechnical ScreenArraysGreedySimulation