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 3061–3090 of 3276 results
This question evaluates proficiency in string-processing and sliding-window algorithm patterns, assessing competency in designing efficient solutions and managing data structures to track distinct elements and reason about time and space complexity.
UpstartData ScientistCoding & AlgorithmsOnsiteTests string parsing for CSV records with quoted fields and escaped delimiters, followed by finding the longest valid subsequence of eastbound city visits with lexicographical tie-breaking.
UpstartSoftware EngineerCoding & AlgorithmsOnline AssessmentThis question evaluates proficiency in string processing, character mapping, and algorithmic analysis by requiring computation of per-word letter spans while accounting for case normalization, punctuation handling, ties, duplicates, and edge-case word forms.
UpstartSoftware EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to efficiently find the minimum absolute difference between any two elements in an array, requiring an understanding of sorting and linear scans.
UpstartSoftware EngineerCoding & AlgorithmsOnline AssessmentThis problem tests your ability to implement custom string formatting logic for file sizes and a stateful simulation of a billing system with capacity limits.
UpstartSoftware EngineerCoding & AlgorithmsOnline AssessmentThis question evaluates understanding of factorial computation and algorithmic techniques, including iterative versus recursive approaches, handling large integers and recursion constraints, and efficient counting of trailing zeros via number-theoretic reasoning.
UpstartData ScientistCoding & AlgorithmsOnsiteThis problem tests your ability to filter elements from an array while maintaining the original sequence and ensuring optimal time complexity using auxiliary data structures.
UpstartSoftware EngineerCoding & AlgorithmsOnline AssessmentReturn each array value once in its original first-appearance order, using membership tracking without sorting the result.
UpstartSoftware EngineerCoding & AlgorithmsOnline AssessmentCheck whether a target value appears at an even index, an odd index, the first half, and the second half of an even-length list in a single scan.
UpstartSoftware EngineerCoding & AlgorithmsOnline AssessmentThis problem tests string parsing and manipulation, specifically isolating numeric prefixes from measurement units and descriptive text while maintaining the relative structure of ingredient lists.
UpstartSoftware EngineerCoding & AlgorithmsOnline AssessmentMultiply only the leading quantity in each ingredient line, preserving recipe order, product wording, and numbers inside descriptions.
UpstartSoftware EngineerCoding & AlgorithmsOnline AssessmentThis prompt evaluates algorithmic problem-solving skills across grid-based ordering constraints, array pair-sum identification, and minimum-difference computation, testing knowledge of data structures, time/space complexity, and correctness conditions.
UpstartSoftware EngineerCoding & AlgorithmsOnline AssessmentThis set of problems evaluates skills in data aggregation and ordering (identifying top averages), computational geometry and extrema calculation (axis-aligned bounding rectangle), and grid constraint validation and consistency checking (partially filled 9x9 number board).
UpstartSoftware EngineerCoding & AlgorithmsOnline AssessmentCalculate the sum of all unique positive integers strictly less than a given limit that are divisible by 3, 5, or 7. The problem requires using the Principle of Inclusion-Exclusion to achieve an O(1) time complexity capable of handling inputs up to 10^18.
UpstartSoftware EngineerCoding & AlgorithmsOnline AssessmentThis question evaluates a candidate's skills in data modeling, in-memory data structures, index design, and query/filter semantics for a flexible schema-less record store.
ValonSoftware EngineerCoding & AlgorithmsTechnical ScreenDesign and implement an in-memory query engine capable of ingesting records and executing structured queries with comparison, membership, and logical operators.
ValonSoftware EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to design a flexible, in-memory table structure that supports dynamic schema definition, data storage, and basic relational query operations.
ValonSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates a candidate's ability to design streaming data structures and time-series algorithms to track state transitions and compute interval queries, covering competencies in online/event-processing algorithms, interval overlap aggregation, and algorithmic complexity analysis within the Coding & Algorithms domain.
VantaSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates proficiency in time-series logging, event-driven state transitions, interval and sliding-window algorithms, and efficient data-structure design for streaming updates.
VantaSoftware EngineerCoding & AlgorithmsTechnical ScreenImplement a Unix-style adjacent-line deduplication function that groups consecutive identical lines, supports case-insensitive matching, and filters output based on run counts in linear time.
VantaSoftware EngineerCoding & AlgorithmsOnsiteImplement a streaming generator that mimics the Unix `uniq` command by collapsing consecutive duplicate lines with options for counting and case-insensitivity.
VantaSoftware EngineerCoding & AlgorithmsOnsiteBuild a deterministic prerequisite ordering with recursive depth-first search. Handle disconnected classes and detect dependency cycles by tracking both active and completed nodes.
VantaSoftware EngineerCoding & AlgorithmsOnsiteCompute build order from dependencies 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.
Veeva SystemsSoftware EngineerCoding & AlgorithmsOnsiteImplement a five-minute hit counter with ordered timestamped operations, repeated hits, and an explicit 300-second expiration boundary.
VercelSoftware EngineerCoding & AlgorithmsTechnical ScreenGiven a rooted tree described as an undirected edge list, return its nodes in layers from the leaves up to the root, where each node sits one layer above its highest child and each layer is sorted. It tests rooting a tree from a graph, bottom-up ordering, and handling very deep, path-shaped trees.
VercelSoftware EngineerCoding & AlgorithmsOnsiteDesign an in-memory metric storage and querying system that allows recording time-series metrics with key-value tags and retrieving the most recent matches filtered by name and tags.
VercelSoftware EngineerCoding & AlgorithmsOnsiteThis question evaluates understanding of time-series processing, interval detection, and interval-merging algorithms, including handling thresholds, touching intervals, and open-ended alerts.
VerkadaSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates understanding of time-series data processing and interval detection, focusing on grouping timestamped motion readings that exceed a numeric threshold and managing contiguous active segments.
VerkadaSoftware EngineerCoding & AlgorithmsTechnical ScreenGiven permission triples linking users, groups and cameras, find the user who can access every camera through direct ownership or through nested, possibly cyclic group memberships. It tests modeling permissions as a directed graph, reachability that tolerates membership cycles, and edge cases such as an input with no cameras or a group that covers everything.
VerkadaSoftware EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to model hierarchical access control systems as a directed graph and determine reachability using graph traversal techniques like BFS or DFS.
VerkadaSoftware EngineerCoding & AlgorithmsOnsite