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 691–720 of 1706 results
- Hudson River TradingMediumSoftware EngineerSimulate Alternating Stick Collection for a Nest
Tests simulation logic, two-pointer state management, turn alternation, and handling conditional decision rules with edge cases.
Coding & AlgorithmsTechnical ScreenTwo PointersSimulationGreedy - Hudson River TradingMediumSoftware EngineerSimulate Players Moving Under a Watcher's Gaze
Simulate the movement and freezing of players on a 1D track under the gaze of a moving watcher who reverses direction at specified times.
Coding & AlgorithmsTechnical Screensimulationarraystwo-pointers - Hudson River TradingEasySoftware EngineerSmallest Integer Point Lit by the Most Street Lamps on a Line
Online assessment coding problem: street lamps on a number line each light a closed interval around their position, and you must return the integer point lit by the most lamps, choosing the smallest such point on ties. It tests interval overlap counting over very large coordinate ranges.
Coding & AlgorithmsTechnical Screen - Hudson River TradingMediumSoftware EngineerSolve Watcher Simulation And Integer Conversion
This question evaluates event-driven simulation and discrete-time state modeling for tracking multiple agents under dynamic visibility constraints, together with low-level numeric string conversion and edge-case handling for 32-bit signed integers.
Coding & AlgorithmsTechnical Screen - Hudson River TradingMediumSoftware EngineerTest easy–medium array/string tasks
This question evaluates a candidate's ability to design concise, robust test cases and translate edge-case reasoning into concrete inputs and expected outputs for array and string problems, reflecting skills in input validation, correctness assurance, and handling varied data characteristics.
Coding & AlgorithmsTechnical Screen - IBMMediumSoftware EngineerCount Employees With Unbroken Renewable Access at the Last Timestamp
A simulation problem about an access system where each employee's access lasts a fixed duration after every setting and can be extended only while it is still active. It asks how many employees hold valid access at the last timestamp, testing exact expiry boundaries, permanent lapses and per-employee state.
Coding & AlgorithmsTechnical Screen - IBMMediumSoftware EngineerCount Index Triplets Whose Max Minus Min Is at Most d
A counting problem that asks how many triplets of positions in an integer array have a spread, the largest value minus the smallest, of at most d. It tests handling duplicates and inclusive bounds, producing a count that can exceed 32 bits, and meeting time limits for arrays of up to 100,000 elements.
Coding & AlgorithmsTechnical Screen - IBMMediumSoftware EngineerCount Seat-Price Trios Within a Budget Spread
Count how many trios of resale-marketplace seat listings have prices within a fixed budget spread of each other, using sorting and a two-pointer sweep instead of an O(n^3) scan.
Coding & AlgorithmsTechnical Screensortingtwo-pointerscombinatorics - IBMMediumSoftware EngineerCount Sensor Trios Within a Tolerance Band
Count how many groups of three readings stay inside a tolerance band (max minus min within a limit). Tests sorting, a sliding window, combinatorial counting and handling of duplicates and large totals.
Coding & AlgorithmsTechnical Screensortingtwo-pointerscombinatorics - IBMMediumSoftware EngineerFind minimum subarray length with k distinct integers
This question tests proficiency with the sliding window technique and hash map-based frequency tracking, applied to subarray problems requiring exact cardinality constraints. It assesses the ability to distinguish between "exactly k distinct" and "at most k distinct" variants — a nuance that reveals depth in algorithmic thinking commonly evaluated in software engineering interviews.
Coding & AlgorithmsTechnical Screen - IBMMediumSoftware EngineerFunction Signature Lookup with Exact and Variadic Parameter Matching
A coding question about an IDE-style signature lookup engine: given registered functions, some whose last parameter is variadic, return for each call the sorted names of every function that accepts its argument types. It tests exact type-sequence matching, zero-or-more variadic arguments and edge cases such as empty argument lists.
Coding & AlgorithmsTechnical Screen - IBMMediumSoftware EngineerMaximize palindromic strings after character swaps
This question evaluates proficiency in string manipulation, combinatorial character-count reasoning, and redistribution of characters under constrained swap operations within the Coding & Algorithms domain.
Coding & AlgorithmsTechnical Screen - IXL LearningMediumSoftware EngineerFind value on most distinct levels
This question evaluates a candidate's understanding of binary tree structures, level-wise aggregation and frequency analysis, along with algorithm design and complexity reasoning.
Coding & AlgorithmsTechnical Screen - IXL LearningMediumSoftware EngineerIdentify and prevent code-breaking inputs
Identify and prevent code-breaking inputs 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.
Coding & AlgorithmsTechnical Screen - IXL LearningHardSoftware EngineerMaintain a Stream Median
This question tests the ability to maintain dynamic order statistics in a streaming context, requiring an efficient way to insert elements and compute the median in logarithmic time.
Coding & AlgorithmsTechnical ScreenHeapsData StructuresAlgorithms - IXL LearningMediumSoftware EngineerSolve snake game, peak search, and task scheduling
Solve snake game, peak search, and task scheduling 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.
Coding & AlgorithmsTechnical Screen - IndeedMediumSoftware EngineerImplement Get and Insert in an Unrolled Linked List
Implement indexed get and insert in an unrolled linked list, preserving block capacity, occupancy, sequence order, and split behavior.
Coding & AlgorithmsTechnical Screen - InstacartMediumSoftware EngineerBuild a Progressive Banking System
This problem tests your ability to manage state transitions, handle expiring reservations, and maintain consistent ledger balances across multiple accounts.
Coding & AlgorithmsTechnical ScreenHash MapState ManagementTransaction Processing - InstacartHardSoftware EngineerDecode a password string into letters
This problem tests your ability to parse and reconstruct a string based on specific numeric encoding rules, requiring careful index tracking and stack-based or recursive logic.
Coding & AlgorithmsTechnical ScreenStringsStackRecursion - InstacartMediumSoftware EngineerDecode an encoded string
This question evaluates string parsing and manipulation skills, particularly handling nested repetition encodings and managing state when expanding bracketed substrings.
Coding & AlgorithmsTechnical Screen - InstacartMediumSoftware EngineerEvaluate an arithmetic expression
This question tests the ability to evaluate a mathematical string containing integers, addition, subtraction, multiplication, and division, requiring an understanding of operator precedence and the use of stacks.
Coding & AlgorithmsTechnical ScreenStackParsingMath - InstacartHardSoftware EngineerEvaluate query ratios from equations
This problem tests your ability to model algebraic relationships as a weighted directed graph and perform pathfinding to calculate ratios between variables.
Coding & AlgorithmsTechnical ScreenGraphBFS/DFSMath - InstacartMediumSoftware EngineerImplement multiple coding round problems
This problem tests your ability to manage a time-sensitive priority queue, handle dynamic variable substitution in expressions, and optimize for streaming data processing.
Coding & AlgorithmsTechnical ScreenHeapStackParsing - InstacartHardMachine Learning EngineerSolve Two Sorted-Array Tasks
This problem tests your ability to efficiently merge and find elements in sorted arrays, focusing on optimal time complexity and edge case handling.
Coding & AlgorithmsTechnical ScreenArraysBinary SearchTwo Pointers - Interactive BrokersMediumData EngineerCompute Minimum Production Days
A data engineering coding screen on greedy scheduling under a cooldown constraint: produce an ordered list of products, one per day, where each product type must cool down for `space` days before it can be produced again. Candidates must return the minimum number of days, ideally in O(n) time using a hash map of last-produced days.
Coding & AlgorithmsTechnical Screen - IntersystemsEasySoftware EngineerFind the longest palindromic substring
This question evaluates string manipulation and algorithmic problem-solving skills, focusing on identifying palindromic substrings and reasoning about performance and edge cases. Commonly asked in the Coding & Algorithms domain to assess practical algorithmic application, it gauges understanding of time/space complexity, input constraints, and robustness in implementation.
Coding & AlgorithmsTechnical Screen - IntersystemsMediumSoftware EngineerMeasure 45 minutes with two ropes
This problem tests creative logical reasoning and the ability to decompose time-based tasks into parallelizable components without standard measurement tools.
Coding & AlgorithmsTechnical ScreenLogicPuzzlesAlgorithms - IntersystemsMediumSoftware EngineerPredict output when iterating ordered keys
This problem tests your understanding of ordered map iteration, the impact of modifying collection traversal, and handling accumulation logic in a state-dependent loop.
Coding & AlgorithmsTechnical ScreenData StructuresAlgorithmsIteration - IntuitEasySoftware EngineerAdd One to Digit Array
This problem tests your ability to handle array-based arithmetic and carry-over logic, specifically focusing on edge cases like digit overflow and resizing the array.
Coding & AlgorithmsTechnical ScreenArrayMathSimulation - IntuitHardSoftware EngineerFind Business Degrees of Separation
This question evaluates understanding of graph traversal and shortest-path computation, including modeling business relationships as undirected graphs and interpreting degrees of separation on the shortest path.
Coding & AlgorithmsTechnical Screen