Katkat

practice a little every day, paws crossed ♡

Coding & Algorithms Interview Questions

Practice 9403 coding, system design and machine learning questions from 546 companies, sorted by role, topic and interview round. Every question has step-by-step hints, a code runner that supports 8 languages and an AI mentor; members also get the full solution walkthrough.

9403
Questions
546
Companies
11
Topics
8
Languages

Showing 301–330 of 427 results

  • Point72EasyData Scientist
    Find kth missing integer and redundant operations

    This 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.

    Coding & AlgorithmsOnline Assessment
  • Point72HardData Engineer
    Implement Election Report and Banking Pipeline

    This multipart question evaluates data engineering competencies including SQL report design for complex aggregation and ranking, plus PySpark-based ETL and transaction-level analytics.

    Coding & AlgorithmsOnline Assessment
  • Point72HardData Scientist
    Implement composition and mixin utilities

    This problem tests proficiency in functional composition, Python metaclass/decorator patterns, and custom serialization logic, focusing on handling flexible arguments and object introspection.

    Coding & AlgorithmsOnline AssessmentPythonFunctional ProgrammingSerialization
  • Point72HardSoftware Engineer
    Maximize Fixed Positions After Deletions

    This problem tests your ability to use dynamic programming and data structures to maximize elements in a subsequence that align with their new indices after removing elements.

    Coding & AlgorithmsOnline AssessmentDynamic ProgrammingGreedyData Structures
  • Point72HardSoftware Engineer
    Simulate a Deterministic Finite Automaton

    Implement and run a Deterministic Finite Automaton (DFA) simulator that parses state transitions over a binary alphabet and determines if input strings are accepted.

    Coding & AlgorithmsOnline AssessmentFinite AutomataState MachineDesign
  • Point72EasyData Engineer
    Solve SQL and PySpark Data Tasks

    This question tests your ability to handle data cleaning, filtering, and aggregation using both SQL and PySpark syntax on a transaction dataset.

    Coding & AlgorithmsOnline AssessmentSQLPySparkData-Cleaning
  • QuinceMediumSoftware Engineer
    Check Whether a Word Repeated K Times Is a Subsequence

    This problem tests the ability to optimize string pattern matching by using modular arithmetic and pointer manipulation to avoid unnecessary memory allocation.

    Coding & AlgorithmsOnline AssessmentStringsTwo PointersGreedy
  • QuinceMediumSoftware Engineer
    Open the Minimum Number of Sprinklers to Cover a Garden

    This problem tests greedy algorithm design and interval scheduling techniques to solve a coverage optimization task.

    Coding & AlgorithmsOnline AssessmentGreedyIntervalsSorting
  • RampMediumSoftware Engineer
    Implement a multi-level digital recipe manager

    Tests skills in data modeling and stateful class implementation, covering CRUD operations, case-insensitive string handling, recipe ID generation, list management, search and sort logic, and basic user/edit permissions.

    Coding & AlgorithmsOnline Assessment
  • RampMediumSoftware Engineer
    Implement multi-level task manager APIs

    This question evaluates implementation skills for stateful in-memory data structures, API evolution handling, substring search and prioritized sorting, and time-windowed assignment logic with quota enforcement in the Coding & Algorithms domain, and is primarily a practical application problem rather than a purely conceptual one.

    Coding & AlgorithmsOnline Assessment
  • RampMediumSoftware Engineer
    Maximize Earnings by Converting Days Off into Workdays

    This question evaluates a candidate's skill in dynamic programming and constrained optimization, specifically deciding which state transitions to modify under a limited budget of changes. It falls under coding and algorithms interviews, testing practical application of greedy or DP reasoning over sequential data with adjacency-based bonuses rather than pure conceptual knowledge.

    Coding & AlgorithmsOnline Assessment
  • RampMediumSoftware Engineer
    Maximum Profit from Dated Stock Trade Records

    This question evaluates a candidate's ability to design an efficient single-pass algorithm for grouped time-series data, tracking per-symbol running minimums to compute maximum achievable profit. It tests array processing, hash-map grouping, and edge-case handling for unsorted records, commonly used in coding interviews to assess practical algorithmic problem-solving rather than pure theory.

    Coding & AlgorithmsOnline Assessment
  • RampMediumSoftware Engineer
    Maximum Profit from Multi-Stock Trading Records

    This question evaluates a candidate's ability to parse and sort unstructured event data, then apply a greedy or dynamic-programming strategy for maximizing profit across multiple independent series. It falls under coding and algorithms, commonly used to assess array processing, state tracking, and stock-trading pattern recognition at a practical implementation level.

    Coding & AlgorithmsOnline Assessment
  • RampMediumSoftware Engineer
    Multi-Level Warehouse Storage with Weighted Retrieval

    This question evaluates a candidate's ability to design an object-oriented data structure with multiple prioritized eviction and expiration rules. It tests skills in coding and algorithms, specifically simulating TTL-based expiry alongside tiered, capacity-aware selection logic. Such multi-rule state machine problems are common in interviews to assess careful requirement tracking and practical implementation of layered constraints.

    Coding & AlgorithmsOnline Assessment
  • RampMediumSoftware Engineer
    Per-IP Sliding-Window Rate Limiter: Accept or Reject Each Request

    Implement a per-IP sliding-window rate limiter: given request timestamps, IP addresses, a request limit and a window length, decide in order whether each request is accepted or rejected. Tests exact window-boundary semantics, per-IP state, and processing a request log efficiently.

    Coding & AlgorithmsOnline Assessment
  • ReevoMediumSoftware Engineer
    Check strings against dictionary efficiently

    This question evaluates skills in efficient membership testing for large datasets, memory-time trade-offs in data structures, and string handling concerns such as case sensitivity and Unicode normalization.

    Coding & AlgorithmsOnline Assessment
  • ReevoMediumSoftware Engineer
    Count all palindromic substrings

    This question evaluates proficiency with string algorithms and algorithmic problem-solving, focusing on palindrome detection and counting contiguous substrings. It is commonly asked to assess implementation skills and the ability to reason about time and space complexity within the Coding & Algorithms domain, emphasizing practical application rather than purely conceptual understanding.

    Coding & AlgorithmsOnline Assessment
  • Reinforce LabsMediumSoftware Engineer
    Compute minimum added stones to balance a tree

    This problem tests tree traversal techniques and greedy aggregation, requiring you to determine the minimum number of 'stones' needed to equalize all subtree sums to match a target value.

    Coding & AlgorithmsOnline AssessmentTreesGreedyRecursion
  • RipplingMediumSoftware Engineer
    Find bounding boxes of connected houses

    This problem tests your ability to perform graph traversal (BFS/DFS) on a 2D grid to identify distinct connected components and compute their spatial extent.

    Coding & AlgorithmsOnline AssessmentGraphsDFSBFS
  • RobloxMediumSoftware Engineer
    Data Center Rack Units: Can a Centered Equipment Bay Be Reserved?

    Process an online stream of rack-unit reservations and span-availability checks over an infinite 1D coordinate line, answering each availability check with the data seen so far.

    Coding & AlgorithmsOnline Assessmentbinary-searchonline-queriesarrays
  • RobloxMediumSoftware Engineer
    Find the Longest Safe Straight-Line Movement on a Laser Grid

    Find a robot's longest safe straight-line movement on a laser-covered grid, where only the initial cell is protected and laser rows and columns are blocked.

    Coding & AlgorithmsOnline Assessment
  • RobloxEasyData Scientist
    Implement four DS coding tasks

    This multi-part question evaluates a data scientist's competencies in statistical inference (sample size and z-test calculations), causal inference and parallel-trends validation (difference-in-differences), Bayesian probability updating, and interpretable supervised learning feature importance, all framed as coding tasks.

    Coding & AlgorithmsOnline Assessment
  • RobloxMediumSoftware Engineer
    Number Line Obstacles: Check Whether a Centered Block Can Be Built

    Process operations on an infinite integer number line that either place an obstacle or ask whether a block centered at a point, reaching a given distance in each direction, is free of obstacles, and return the answers as a binary string. It tests efficient online range queries over large, sparse coordinates.

    Coding & AlgorithmsOnline Assessment
  • RobloxMediumData Scientist
    Optimize assembly-line scheduling with changeovers

    This question evaluates combinatorial optimization and scheduling competencies, specifically reasoning about NP-hardness, sequence-dependent setup times, precedence and downtime constraints, and designing exact and heuristic solvers for makespan minimization.

    Coding & AlgorithmsOnline Assessment
  • RobloxMediumSoftware Engineer
    Trail Campsite Clearance: Online Pin and Range-Empty Queries

    Process a stream of events that drop hazard pins at integer mile markers or ask whether a campsite centered at a marker with a given radius would be hazard-free, returning the answers as a string. Tests sparse-coordinate range counting with binary search and a Fenwick tree.

    Coding & AlgorithmsOnline Assessmentfenwick-treecoordinate-compressionbinary-search
  • RubrikHardSoftware Engineer
    Find largest connected group of overlapping intervals

    This question evaluates understanding of interval overlap modeling, graph connectivity, and algorithmic efficiency by requiring mapping time intervals to an undirected communication graph and identifying its largest connected component.

    Coding & AlgorithmsOnline Assessment
  • RubrikHardSoftware Engineer
    Validate BFS order queries on a tree

    This question evaluates understanding of BFS traversal, tree graph representation, and the ability to reason about allowable dequeue/enqueue orderings in a FIFO queue.

    Coding & AlgorithmsOnline Assessment
  • SIG (Susquehanna)MediumSoftware Engineer
    Count Equal-Difference Triples After Each Add or Remove-All Operation

    Process a stream of add-one and remove-all operations on a multiset and report, after each operation, how many element triples form an arithmetic progression with a fixed positive difference. It tests efficient incremental updates, correct treatment of duplicate occurrences, and counts that exceed the 32-bit range.

    Coding & AlgorithmsOnline Assessment
  • SIG (Susquehanna)MediumSoftware Engineer
    Count subarrays with odd zero count

    This interview question evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer for Count subarrays with odd zero count states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Coding & AlgorithmsOnline Assessment
  • SIG (Susquehanna)MediumSoftware Engineer
    Rotate a Square Matrix Clockwise While Both Diagonals Stay Fixed

    Rotate every element of a square matrix that lies off both diagonals by 90 degrees clockwise a given number of times, leaving the main-diagonal and anti-diagonal values in place. It tests precise index mapping, handling of odd and even matrix sizes, and bug-free simulation under timed assessment conditions.

    Coding & AlgorithmsOnline Assessment