Katkat

Topic

Coding & Algorithms interview questions

3276 Coding & Algorithms questions from 366 companies, with hints, runnable code and solution walkthroughs.

Questions3276

273 easy2539 medium464 hard

Your progress0/3276

Coding & Algorithms interview questions by the numbers

Last updated

Katkat has 3,276 Coding & Algorithms interview questions from 366 companies; the most come from Amazon (7%), Meta (7%) and Google (6%). By difficulty: 8% easy, 78% medium and 14% hard. The most common round is Technical Screen (52%). Frequent concepts include Algorithms, Data Structures, Arrays and Greedy.

Companies (366)

Difficulty

  • Easy8% · 273
  • Medium78% · 2539
  • Hard14% · 464

Interview rounds

  • Technical Screen52% · 1706
  • Onsite33% · 1080
  • Online Assessment13% · 427
  • HR Screen1% · 37
  • Other1% · 26

Roles

  • Software Engineer80% · 2629
  • Machine Learning Engineer8% · 253
  • Data Scientist7% · 241
  • Data Engineer1% · 45
  • Backend Engineer1% · 26

Frequent concepts

  • Algorithms9% · 302
  • Data Structures7% · 228
  • Arrays5% · 176
  • Greedy5% · 164
  • Optimization5% · 151
  • Hash Map4% · 124

Showing 931–960 of 3276 results

  • This question tests the ability to solve a shortest-path problem with multiple constraints using Dijkstra's algorithm, followed by understanding sampling techniques for connected graph structures.

    DatabricksSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This interview question evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer for Solve graph path, interval deletion, and robbery states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    DatabricksSoftware EngineerCoding & AlgorithmsHR Screen
  • Build an automated Tic-Tac-Toe opponent with perfect-play minimax, deterministic move ties, board events, invalid attempts, and terminal-state handling.

    DatabricksSoftware EngineerCoding & AlgorithmsOnsite
  • Implement two-player Tic-Tac-Toe with automatic turn changes, board snapshots, rejected moves, winning lines, and full-board draws.

    DatabricksSoftware EngineerCoding & AlgorithmsOnsite
  • This problem tests your ability to reconstruct a parent-child hierarchical tree from an unordered collection of trace spans by leveraging parent ID references and sorting mechanisms.

    DatadogSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This question evaluates understanding of sequence processing, sliding-window aggregation, filtering by tag, and efficient state management in tagged time-series or event data, testing algorithmic efficiency and correctness.

    DatadogSoftware EngineerCoding & AlgorithmsOnsite
  • This question evaluates understanding of prefix-based string matching, data structure design (hash-based sets and trie/prefix tree), and algorithmic competencies including efficient in-memory storage and deduplication of matches.

    DatadogSoftware EngineerCoding & AlgorithmsOnsite
  • This question evaluates API client design, asynchronous query lifecycle management, result retrieval, robust error handling, and secure credential handling for a cloud data warehouse.

    DatadogSoftware EngineerCoding & AlgorithmsOnsite
  • This question evaluates a candidate's ability to implement buffered I/O and design concurrency-safe APIs, exercising skills in data buffering, performance optimization, and thread-safety.

    DatadogSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This question evaluates a candidate's skill in designing and analyzing log storage and query systems, covering data layout, indexing strategies, time-range scans with optional filters, and time/space complexity reasoning.

    DatadogSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This question evaluates proficiency with buffered I/O, buffer management, memory handling, and performance optimization, including maintaining byte order, handling partial writes, and edge cases across consecutive write/flush/close operations.

    DatadogSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This question evaluates understanding of streaming algorithms, string indexing, and set-based matching, focusing on designing efficient online data structures to match stored queries against incoming logs within the Coding & Algorithms domain.

    DatadogSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This question evaluates the ability to interpret execution logs and compute exclusive CPU time, testing skills in parsing structured logs, reasoning about nested execution intervals, and precise time accounting.

    DecagonSoftware EngineerCoding & AlgorithmsTechnical Screen
  • Implement an exhaustive search algorithm to count all distinct legal game sequences in 3x3 Tic-Tac-Toe, categorized by outcome.

    DecagonSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This problem tests your ability to design a state-tracking system for an n x n Tic-Tac-Toe board that allows for constant-time move validation and win detection.

    DecagonSoftware EngineerCoding & AlgorithmsTechnical Screen
  • Design a rolling-window tracker for streaming conversation scores that supports score updates, rolling average calculation, and maximum score queries.

    DecagonSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This question evaluates understanding of recursion and backtracking, exhaustive game-tree enumeration, and state representation for combinatorial game analysis.

    DecagonSoftware EngineerCoding & AlgorithmsOnsite
  • This problem tests your ability to manage stateful data during event processing and calculate exclusive execution times from a stream of nested function logs.

    DecagonSoftware EngineerCoding & AlgorithmsOnsite
  • This question evaluates the ability to design and implement efficient data structures and algorithms for a sliding time-window tracker, covering time-based expiration, stateful updates, rolling averages with rounding, and nearest-rank percentile computation.

    DecagonSoftware EngineerCoding & AlgorithmsTechnical Screen
  • In the Coding & Algorithms domain, this prompt evaluates numerical methods and precision handling for implementing a square-root function without library support, together with in-place array manipulation, partitioning and complexity reasoning for parity-based rearrangement, testing competencies in algorithm design, numerical approximation, and space-efficient data transformations. These problems are commonly asked to assess understanding of numerical stability, error bounds and iterative approximation as well as mastery of in-place ordering/partitioning strategies and time/space complexity analysis, requiring both conceptual understanding of mathematical properties and practical implementation ability.

    DeshawMachine Learning EngineerCoding & AlgorithmsTechnical Screen
  • Tests recognizing that non-negative L1 terms allow reducing subarray search to full diagonal overlaps across two arrays, requiring O(n * m) time and 64-bit integer handling.

    DeshawSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This problem set evaluates core skills in data structures and algorithmic reasoning, specifically binary tree structural equality and bracket-matching for strings, testing understanding of tree traversal, recursion, and stack-based parsing.

    Deutsche BankSoftware EngineerCoding & AlgorithmsOnsite
  • Count case-sensitive occurrences of a character in a string, including empty input and repeated matches.

    DiscordData ScientistCoding & AlgorithmsTechnical Screen
  • This question evaluates proficiency in stream processing, stateful sessionization, time-based aggregation, and per-user metric computation, focusing on competencies such as tracking user activity across unbounded ordered event streams and computing top-channel aggregates.

    DiscordSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This question tests practical knowledge of Python's asyncio library and concurrent programming by requiring the implementation of a TCP chat server. It evaluates a software engineer's ability to manage multiple simultaneous connections, handle resource cleanup, and apply event-driven concurrency patterns — core competencies commonly assessed in backend and systems-focused interviews.

    DiscordSoftware EngineerCoding & AlgorithmsOnsite
  • Find words appearing in exactly one of two messages using set symmetric difference while clarifying tokenization and case rules.

    DiscordData ScientistCoding & AlgorithmsTechnical Screen
  • This question tests a candidate's ability to apply recursive backtracking and combinatorial generation in a coding interview context. It evaluates understanding of constraint-based enumeration and string construction, core algorithmic skills frequently assessed in software engineering and data engineering roles.

    DisneyData EngineerCoding & AlgorithmsOnline Assessment
  • This question tests practical understanding of recursion and backtracking through enumeration of all valid parenthesis combinations of a given length. It is a classic coding interview problem that evaluates combinatorial reasoning, constraint-based pruning, and familiarity with Catalan number sequences in algorithm design.

    DisneyData EngineerCoding & AlgorithmsOnline Assessment
  • This problem tests your ability to design a cache that supports O(1) access, insertion, and eviction by combining two core data structures.

    DisneySoftware EngineerCoding & AlgorithmsOnsite
  • This question evaluates understanding of grid traversal and shortest-path graph search, including modeling a 2D grid with obstacles and reasoning about boundary and edge cases, within the Coding & Algorithms domain.

    DisneySoftware EngineerCoding & AlgorithmsOnsite

More topics