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 1291–1320 of 3276 results

  • This set tests proficiency in recursive string decoding, dynamic programming for sequential decision-making, and graph-based traversal algorithms for grid analysis.

    GoogleSoftware EngineerCoding & AlgorithmsOnsite
  • This set of problems evaluates algorithmic problem-solving across combinatorics and enumeration (finding the N-th lexicographic license plate), constrained geometric and graph traversal reasoning (counting Android-style 3x3 unlock patterns), and interval-processing algorithms (computing intersections of sorted, non-overlapping intervals) within the domain of algorithms and data structures. These questions are commonly asked because they reveal ability to reason about discrete enumeration, constraint handling, and efficient time/space implementations for edge-case-heavy inputs, and the level of abstraction spans both conceptual understanding (combinatorial and geometric constraints) and practical application (efficient algorithm and data-structure implementation).

    GoogleSoftware EngineerCoding & AlgorithmsOnsite
  • This problem tests the ability to maintain and query a dynamic sorted collection of points to perform efficient proximity-based removals.

    GoogleSoftware EngineerCoding & AlgorithmsOnsite
  • Report the initial number of grid islands and update that count after each requested water-to-land addition. The problem probes incremental connectivity, duplicate additions, local merge effects, scalability to large grids, and alternatives to recomputing the entire map.

    GoogleSoftware EngineerCoding & AlgorithmsOnsite
  • This question evaluates system troubleshooting and diagnostic competencies, including Linux CPU and IO performance analysis, network latency and packet-level investigation, and DNS resolution and query tooling knowledge.

    GoogleSoftware EngineerCoding & AlgorithmsOnsite
  • This question evaluates a candidate's ability to process semi-structured event data using grouping, deduplication, and timestamp arithmetic in Python. It falls under coding and algorithms, commonly asked to assess practical data-wrangling skills such as aggregating per-key counts and computing time-based metrics while handling edge cases like unordered records and single-event users.

    GoogleData EngineerCoding & AlgorithmsTechnical Screen
  • This question evaluates understanding of graph algorithms and data validation, specifically dependency analysis, cycle detection, and topological ordering.

    GoogleSoftware EngineerCoding & AlgorithmsTechnical Screen
  • Solve a SQL customer order aggregation task and merge two sorted linked lists. The solution uses CTEs, window functions, LEFT JOINs, COALESCE, latest-order tie handling, optional returned-order filtering, and an O(m+n) dummy-head linked-list merge.

    GoogleData EngineerCoding & AlgorithmsTechnical Screen
  • This question evaluates understanding of transactional state management, data structure design, and consistency/visibility semantics in an in-memory key-value store that supports nested transactions.

    GrammarlySoftware EngineerCoding & AlgorithmsOnsite
  • This question evaluates a candidate's ability to manage and manipulate overlapping intervals with multi-criteria tie-breaking, preserve original metadata across splits, and design efficient data structures and algorithms for producing non-overlapping correction spans.

    GrammarlySoftware EngineerCoding & AlgorithmsOnsite
  • Reconstruct a general ordered tree from its depth-annotated preorder traversal string and return it as a nested tuple.

    GrammarlySoftware EngineerCoding & AlgorithmsTechnical Screen
  • This problem tests your understanding of pointer manipulation and iterative/recursive techniques for modifying linked structures in-place.

    GrammarlySoftware EngineerCoding & AlgorithmsTechnical Screen
  • This problem tests your understanding of higher-order functions, closure scope, and asynchronous execution control by requiring the implementation of a flexible debounce utility.

    Grayswan AiSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This problem tests your ability to solve a classic dynamic programming challenge, focusing on finding the optimal order of matrix multiplications to minimize the total number of scalar operations.

    GsaData ScientistCoding & AlgorithmsTechnical Screen
  • This problem tests your ability to implement a greedy allocation algorithm while respecting individual upper bounds and handling iterative redistribution of remaining resources.

    GustoSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This problem tests your ability to design a time-indexed key-value store that supports efficient lookups of historical values using binary search.

    GustoSoftware EngineerCoding & AlgorithmsTechnical Screen
  • Practice a combinatorics coding problem that counts good subsequences where every selected character has the same frequency. The prompt targets frequency counting, combinations, modular arithmetic, and grouping subsequences by common selected count.

    HackerRankMachine Learning EngineerCoding & AlgorithmsOnline Assessment
  • This problem tests your ability to optimize repeated state transitions by identifying cycles in a functional graph or using modular arithmetic to jump through large steps.

    HackerRankSoftware EngineerCoding & AlgorithmsTechnical Screen
  • A manufacturing work order is modeled as a directed acyclic graph of operations with durations in days, and every path ends at one shipping node. Compute the total lead time as the critical path length from any starting operation to shipping. It tests graph modeling, dependency ordering and longest-path reasoning.

    HadrianSoftware EngineerCoding & AlgorithmsTechnical Screen
  • Design an in-memory hierarchical file vault supporting automatic directory creation, lexicographical directory listings, and duplicate-name resolution using the smallest available numeric suffix.

    HarveySoftware EngineerCoding & AlgorithmsOnsite
  • This question evaluates ability to design and implement data structures and algorithms for expression parsing, dependency tracking, incremental evaluation, and cycle detection in an in-memory spreadsheet.

    HarveySoftware EngineerCoding & AlgorithmsOnsite
  • This question evaluates design and implementation skills for hierarchical in-memory data structures, string parsing and file-name collision handling under constraints, and the ability to reason about time and space complexity.

    HarveySoftware EngineerCoding & AlgorithmsTechnical Screen
  • Design an in-memory spreadsheet engine that supports cell updates, formula evaluations, cycle detection, and O(1) value lookups via proactive cache propagation.

    HarveySoftware EngineerCoding & AlgorithmsTechnical Screen
  • This question evaluates the ability to design and implement hierarchical in-memory data structures, manage capacity constraints and OS-style duplicate naming, and reason about edge cases and time/space complexity.

    HarveySoftware EngineerCoding & AlgorithmsTechnical Screen
  • Implement eager spreadsheet formulas with constant-time cached reads, transitive dependency updates, cycle rejection, and atomic definition replacement.

    HarveySoftware EngineerCoding & AlgorithmsTechnical Screen
  • Implement an expression evaluator for a dictionary of symbolic definitions with arithmetic operations, resolving dependencies, and detecting cycles and undefined references.

    HarveySoftware EngineerCoding & AlgorithmsOnsite
  • This question evaluates skills in string matching, pattern recognition, overlap handling, text annotation, and counting occurrences across multiple source strings.

    HarveySoftware EngineerCoding & AlgorithmsTechnical Screen
  • This problem tests your ability to manage a directed graph of dependencies and implement a topological update mechanism to recompute spreadsheet cell values efficiently.

    HarveySoftware EngineerCoding & AlgorithmsTechnical Screen
  • Design an in-memory cursor-based text editor supporting character insertion, deletion, and cursor navigation with efficient time complexity.

    HarveySoftware EngineerCoding & AlgorithmsOnsite
  • Tests your ability to implement a thread-safe connection pool that manages connection lifecycles, blocking acquisition with timeouts, and resource reuse under concurrent access.

    HarveySoftware EngineerCoding & AlgorithmsOnsite

More topics