Topic
Coding & Algorithms interview questions
3276 Coding & Algorithms questions from 366 companies, with hints, runnable code and solution walkthroughs.
273 easy2539 medium464 hard
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
Most mentioned in interview experiences
- 1.Solve Algorithmic Challenges in Online Coding Assessments15 reports
- 2.Solve LeetCode string and list problems11 reports
- 3.Solve sliding-window and heap problems8 reports
- 4.Implement LRU cache with O(1) ops7 reports
- 5.Implement and Analyze an LRU Query Cache6 reports
- 6.Determine Length of Longest Unique Substring5 reports
- 7.Match-3 Grid: Find Horizontal and Vertical Runs, Then Clear and Drop Cells5 reports
- 8.Design a single- and multi-threaded web crawler4 reports
- 9.Find an Exit in a URL Maze4 reports
- 10.Find deployable slots in a recurring week from allowed and freeze windows4 reports
Counted from 781 candidate interview experiences on Katkat. How we collect and count
Showing 1801–1830 of 3276 results
Tests traversal of a complete or sparse binary tree stored in an array, tracking path values to accumulate the total sum of numbers formed from root to leaf.
MetaSoftware EngineerCoding & AlgorithmsOnsiteThis question evaluates binary tree traversal techniques, use of stacks as constrained data structures, predicate-based filtering of nodes, and the ability to argue algorithmic correctness and analyze time and space complexity.
MetaSoftware EngineerCoding & AlgorithmsTechnical ScreenTraverse levels selecting nodes meeting a predicate 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.
MetaSoftware EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to define custom comparison logic using a lookup table and verify if a list of strings adheres to a non-standard lexicographical ordering.
MetaSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates string-parsing, formal-grammar validation, and edge-case reasoning competencies, including the ability to recognize valid numeric formats and to provide time and space complexity analysis.
MetaSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates proficiency in string parsing, pattern validation, and algorithmic correctness, covering abbreviation interpretation and bracket balancing while requiring careful handling of edge cases and input constraints.
MetaSite Reliability EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates the ability to process sequential event logs, maintain per-entity state invariants (checkout vs return), and reason about algorithmic time and space complexity within a validation task.
MetaData EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates understanding of interval-based resource accounting and algorithmic reasoning with cumulative constraints, assessing skills in processing time-bound events and managing capacity limits.
MetaData EngineerCoding & AlgorithmsOnsiteThis problem tests your ability to handle nested structures using a stack and your efficiency in order-based selection using heap operations.
MetaSoftware EngineerCoding & AlgorithmsTechnical ScreenValidate word abbreviation and reconcile two abbreviations 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.
MetaSoftware EngineerCoding & AlgorithmsOnsiteThis question evaluates proficiency in SQL querying and relational data modeling, focusing on time-interval overlap logic, distinct aggregation across joined tables, null handling, and safe computation of utilization metrics.
MetaData EngineerCoding & AlgorithmsOnsiteThis problem tests your ability to manage relational data, handle temporal overlaps for booking availability, and derive insights from social graph-like connections using SQL or data manipulation scripts.
MetaData EngineerCoding & AlgorithmsTechnical ScreenTests sorting and linear scanning techniques to consolidate overlapping and adjacent closed intervals into a minimal sorted set.
Micro1Software EngineerCoding & AlgorithmsOnline AssessmentA coding problem that processes a stream of add and median operations and returns, for every query, the median of all integers inserted so far. It tests choosing data structures that keep the middle of a growing collection quickly accessible, plus correct averaging when the count is even.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteThis problem tests your ability to model a dependency system as a directed graph and identify if a valid order exists using cycle detection (Kahn's Algorithm or DFS).
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to optimize range frequency queries using precomputation and efficient data structures, specifically focusing on suffix-based constraints.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteThis question evaluates proficiency in string manipulation, sequence assembly, and labeled-graph path reconstruction—skills involved in ordering fragments by matching start/end tags and concatenating payloads—and it belongs to the Coding & Algorithms domain.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to handle partial reads from an asynchronous stream and correctly parse length-prefixed binary data structures.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteA coding exercise that partitions a list of lowercase words into groups whose members use exactly the same letters with the same counts, returned in a fixed canonical order. It tests efficient grouping over up to ten thousand words, handling duplicates and empty strings, and producing deterministic sorted output.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsite- Build a CSV Query EngineMedium
This problem tests your ability to parse structured text, perform basic type inference, and implement a filtering mechanism for tabular data.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical Screen Check whether a singly linked list is a palindrome in O(n) time and O(1) pointer space without leaving it modified. Practice finding the midpoint, reversing the second half, comparing values, and restoring every link before return.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteThis question tests string manipulation, edge-case handling, and algorithmic efficiency in generating the smallest palindrome greater than a given numeric string.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question tests your ability to manipulate digits of an integer to identify palindromes and efficiently construct the smallest palindrome greater than a given number.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteThis question evaluates array-processing skills, competency with next-smaller-or-equal element patterns, and the ability to compute aggregated results under ordering constraints.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to manipulate array prefixes and suffixes to compute aggregate values efficiently without using the division operator, while handling constraints like modular arithmetic.
MicrosoftSoftware EngineerCoding & AlgorithmsOnline AssessmentThis question tests the ability to implement a shortest-path algorithm in a directed graph that may contain cycles, specifically evaluating the selection between Dijkstra's algorithm and Bellman-Ford based on edge weight constraints.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenCompute sum of longest positive subarray 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.
MicrosoftSoftware EngineerCoding & AlgorithmsTechnical ScreenConvert an eight-digit hexadecimal address to network-order dotted IPv4 with strict validation, optional prefixes, and correct high-bit handling.
MicrosoftSoftware EngineerCoding & AlgorithmsOnsiteTests string traversal, run-length grouping, and recognizing how adjacent homogeneous blocks contribute to valid balanced substrings.
MicrosoftSoftware EngineerCoding & AlgorithmsOnline AssessmentCount non-decreasing arrays whose values are at most 5000 and match specified decimal digit sums, returning the total modulo 1000000007.
MicrosoftSoftware EngineerCoding & AlgorithmsOnline Assessment