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 2341–2370 of 3276 results
This question evaluates a candidate's ability to model and traverse directed graphs with repeated edges, enforce lexicographic ordering among possible paths, and analyze time and space complexity for an algorithmic solution.
PinterestSoftware EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to model a graph where each edge represents a transition, requiring you to find a valid linear sequence that visits every node exactly once.
PinterestSoftware EngineerCoding & AlgorithmsOnsiteTests tree traversal to find subtrees, array compaction, and index remapping on a parent-pointer forest representation without mutating input data.
PinterestSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates parsing and numeric manipulation skills, specifically implementing rounding rules for numeric strings and handling decimals, significant digits, and precision edge cases.
PinterestSoftware EngineerCoding & AlgorithmsTechnical ScreenImplement an elevator dispatch selection algorithm that finds the nearest eligible elevator for a passenger request based on floor, direction, and tie-breaking rules.
PinterestSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates the ability to compute and reconcile per-person financial balances from transactional data and to translate net liabilities into direct transfers, exercising skills in numeric bookkeeping and data aggregation.
PinterestSoftware EngineerCoding & AlgorithmsTechnical ScreenPinterest software-engineer onsite coding question: given a list of debts as (debtor, creditor, amount) triples, return settlement transfers that clear every net balance using the minimum number of transactions. It tests reducing to net balances, recognizing the problem is NP-hard, backtracking with pruning to find the optimum for small N, and a heap-based greedy heuristic plus correctness and time/space complexity analysis for large, skewed debt graphs.
PinterestSoftware EngineerCoding & AlgorithmsOnsiteThis problem tests recursive backtracking for expression generation and pointer manipulation for in-place tree-to-linked-list conversion.
PinterestMachine Learning EngineerCoding & AlgorithmsOnsiteThis set tests proficiency in graph algorithms, binary search on sorted data, grid simulations, and custom data structure design for real-time leaderboards.
PinterestSoftware EngineerCoding & AlgorithmsOnsiteTests breadth-first search and bipartite/dual-graph modeling to find the minimum number of transit lines needed to travel between two stops.
PinterestSoftware EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to navigate 2D grids and apply graph traversal algorithms to identify connected components and calculate propagation distances.
PinterestSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates algorithmic problem-solving skills focused on constraint satisfaction, state-space search, and implementation correctness for combinatorial puzzles.
PinterestMachine Learning EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to optimize range-based operations using a difference array or prefix sum strategy and demonstrates your skill in balancing computational efficiency with memory constraints.
PinterestMachine Learning EngineerCoding & AlgorithmsOnsiteThis problem tests your ability to efficiently manage prefix-based string searching using a Trie data structure, specifically focusing on handling wildcard character matching.
PinterestMachine Learning EngineerCoding & AlgorithmsOnsiteThis multi-part question evaluates set and multiset operations, frequency counting, top-K computation over time windows, sliding-window and streaming data structures, and character-multiset matching for string construction within the coding & algorithms domain.
PinterestSoftware EngineerCoding & AlgorithmsOnsiteThis problem tests your ability to design a data structure that efficiently manages room assignments and retrieves the top-k rooms based on a primary priority (number of people) and a secondary priority (earliest arrival time).
PinterestMachine Learning EngineerCoding & AlgorithmsOnsiteThis question evaluates understanding of Euclidean distance metrics, vector arithmetic, and nearest-neighbor retrieval, testing implementation skills for computing distances and selecting the k closest points.
PitchbookSoftware EngineerCoding & AlgorithmsOnsiteCalculate the total makespan required to process a queue of ordered jobs across a fixed pool of identical parallel workers.
PlaidSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates proficiency in array processing, algorithm design, use of auxiliary data structures such as monotonic stacks, and formal complexity and correctness reasoning.
PlaidSoftware EngineerCoding & AlgorithmsTechnical ScreenCalculate the total number of jobs completed by a given deadline across a multi-stage pipelined system with worker pools. The solution requires simulating stage-by-stage batch execution, tracking wave durations, and enforcing barrier synchronization between stages.
PlaidSoftware EngineerCoding & AlgorithmsTechnical ScreenDetermine the total number of jobs completed by a single worker executing a sequence of stage-gated tasks before a time limit expires. Tests linear simulation, division/modulo arithmetic, handling of zero-duration and zero-count edge cases, and 64-bit integer safety.
PlaidSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates proficiency in data structures and algorithms for building an in-memory service, including efficient lookup/update strategies, expiration handling, limit enforcement, idempotency, concurrency considerations, and time/space complexity reasoning.
PlaidSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates a candidate's skills in data normalization, deduplication, aggregation, and conflict resolution across multiple JSON data sources, with emphasis on canonicalization of aliases and handling inconsistent mappings.
PlaidSoftware EngineerCoding & AlgorithmsTechnical ScreenImplement a graph traversal to resolve Boolean evaluation chains with negation, detecting cycles, paths leading to cycles, and undefined references in linear time.
PlaidSoftware EngineerCoding & AlgorithmsTechnical ScreenDetermine if all rules in a chained decision rule set resolve to a terminal 'pass' outcome without cycles or missing references.
PlaidSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates computational geometry skills, careful integer arithmetic for numeric precision, case-based classification logic, and analysis of time and space complexity in the Coding & Algorithms domain for Data Scientist roles.
Point72Data ScientistCoding & AlgorithmsTechnical ScreenThis question evaluates geometric reasoning and computational-geometry competency, including spatial relationship analysis and handling numerical edge cases relevant to pairwise object interaction.
Point72Data ScientistCoding & AlgorithmsTechnical ScreenThis paired question evaluates array and algorithmic skills — specifically order-statistics and missing-number reasoning for the k-th missing positive, and time-window aggregation with frequency tracking for detecting redundant log events — within the coding & algorithms domain.
Point72Data ScientistCoding & AlgorithmsOnline AssessmentA strictly increasing array of distinct integers has been rotated at an unknown pivot. Work through the function contract, boundary cases, correctness argument, and time and space complexity expected in a production-quality solution.
Point72Quantitative ResearcherCoding & AlgorithmsTechnical ScreenThis question evaluates string manipulation, lexicographic ordering, and reasoning about local character transformations including wrap-around behavior.
Point72Machine Learning EngineerCoding & AlgorithmsTechnical Screen