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 2161–2190 of 3276 results
This question evaluates understanding of constraint satisfaction and combinatorial search, testing competency in modeling Latin-square domains with visibility constraints, pruning and uniqueness verification, and algorithmic complexity analysis.
OptiverQuantitative TraderCoding & AlgorithmsOnline AssessmentSolve three mini-game algorithm tasks 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.
OptiverSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates a candidate's algorithmic reasoning and discrete-mathematics skills, particularly understanding deterministic state transitions, invariants, and cycle detection in iterative processes.
OptiverQuantitative ResearcherCoding & AlgorithmsTechnical ScreenThis question evaluates understanding of concurrent programming, synchronization primitives, atomicity, and correctness of shared mutable state by requiring implementation of a thread-safe inventory that prevents overselling and preserves updates.
OptiverSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates understanding of tree and graph fundamentals including parent-child constraints, duplicate-edge detection, cycle detection, node-degree limits, and in-order traversal semantics.
OptiverSoftware EngineerCoding & AlgorithmsOnline AssessmentThis problem tests array manipulation skills and the ability to handle carry-over logic in fixed-size numerical representations.
OracleBackend EngineerCoding & AlgorithmsOnsiteThis problem tests binary search on a continuous search space and the ability to handle numerical precision for numbers both greater than and less than one.
OracleSoftware EngineerCoding & AlgorithmsTechnical ScreenDecide whether a string made of round, square and curly brackets is properly nested, meaning every closing bracket matches the most recently opened bracket of the same type and nothing is left open. Tests careful handling of nesting order, crossing pairs and unmatched brackets at either end.
OracleSoftware EngineerCoding & AlgorithmsTechnical Screen- Count Closed IslandsMedium
This problem tests your ability to navigate a 2D grid using graph traversal algorithms like DFS or BFS while identifying connected components that do not touch the grid boundaries.
OracleData ScientistCoding & AlgorithmsTechnical Screen This question evaluates understanding of grid-based graph traversal and connected-component detection, focusing on flood-fill logic and the treatment of boundary-connected regions in a binary grid.
OracleData ScientistCoding & AlgorithmsTechnical ScreenCount four-connected islands and find the largest island using DFS or BFS, with correct visited-state handling and all-water behavior.
OracleSoftware EngineerCoding & AlgorithmsOnsiteThis question evaluates skills in string processing, anagram grouping, frequency mapping, and combinatorial counting to determine how many phrase variations arise from permissible replacements in the Coding & Algorithms domain.
OracleSoftware EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to navigate a 2D grid using graph traversal algorithms like DFS or BFS while handling specific boundary constraints to identify closed regions.
OracleData ScientistCoding & AlgorithmsTechnical ScreenDecide whether a string of parentheses and stars can become a balanced parenthesis string when each star may independently act as an opening parenthesis, a closing parenthesis or an empty string. Tests reasoning over many possible replacements at once and edge cases with unmatched parentheses near either end.
OracleSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates a candidate's ability to design an efficient online data structure that maintains a stream of login events and supports constant-time updates and queries for the earliest user with exactly one login.
OracleSoftware EngineerCoding & AlgorithmsTechnical ScreenA coding question that asks whether a directed graph, given as a node count and a list of edges, contains at least one directed cycle. It tests graph traversal on large inputs and careful handling of self-loops, duplicate edges, converging paths and disconnected components.
OracleSoftware EngineerCoding & AlgorithmsOnsiteThis problem tests your ability to explore paths in a grid using depth-first search (DFS) with backtracking while maintaining lexicographical output constraints.
OracleSoftware EngineerCoding & AlgorithmsOnsiteReturn the fewest coins that add up exactly to an amount, first when every coin value can be reused without limit and then when each listed coin can be used at most once. An onsite coding problem that tests the difference between unlimited and single-use selection and the handling of amounts that cannot be formed.
OracleSoftware EngineerCoding & AlgorithmsOnsiteThis problem tests your ability to perform graph traversal (BFS/DFS) on a 2D grid while maintaining state across connected components.
OracleSoftware EngineerCoding & AlgorithmsOnsiteFind shortest subarray meeting target sum 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.
OracleSoftware EngineerCoding & AlgorithmsOnsiteTests array traversal, greedy state tracking, and achieving optimal O(n) time and O(1) space complexity for trade optimization.
OracleBackend EngineerCoding & AlgorithmsOnsiteThis problem tests string manipulation, greedy algorithm design, and efficiency. It requires an O(n) solution to avoid Time Limit Exceeded errors on long strings, as naive O(n^2) comparisons will fail.
OracleSoftware EngineerCoding & AlgorithmsOnsiteThis question evaluates the ability to parse and process event logs, pair signin/signout events per user, and handle unordered timestamps and per-user state with time-window constraints.
OracleSoftware EngineerCoding & AlgorithmsOnsiteImplement queue enqueue, dequeue, and peek operations using exactly two LIFO stacks. The challenge tests transfer invariants, output ordering, amortized O(1) reasoning, large operation sequences, empty input, and compliance with restrictions against queue-like shortcuts.
OracleSoftware EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to design a thread-safe, in-memory booking system using efficient data structures to handle temporal queries and capacity management.
OracleSoftware EngineerCoding & AlgorithmsTechnical ScreenGiven a grid of land and water, convert at most one water cell to land and return the size of the largest island that can result. An onsite follow-up coding problem that tests connected-component sizing, joining neighboring islands without counting one twice, and efficiency on grids up to 500 by 500.
OracleSoftware EngineerCoding & AlgorithmsOnsiteFind the maximum possible sum of a subsequence such that no two consecutive elements from the original array are omitted.
OracleSoftware EngineerCoding & AlgorithmsOnsiteThis problem tests the ability to find the optimal buy and sell points for a stock within a single transaction, focusing on an efficient O(n) single-pass approach.
OracleSoftware EngineerCoding & AlgorithmsOnsiteTests the ability to compute sliding-window minima in linear time using a monotonic deque and determine the maximum value among those minima.
OracleSoftware EngineerCoding & AlgorithmsTechnical ScreenGiven daily stock prices and a transaction limit k, compute the maximum profit achievable with at most k buy-then-sell trades while holding at most one share at a time. It tests generalizing a fixed-count trading problem, handling a k larger than the available profitable trades, and tracking state efficiently.
OracleSoftware EngineerCoding & AlgorithmsOther