Katkat

practice a little every day, paws crossed ♡

Software Engineer 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 121–150 of 520 results

  • Booking.comMediumSoftware Engineer
    Solve three OA coding questions

    This 90-minute assessment evaluates algorithmic problem-solving skills including string manipulation and grouping for anagram detection, digit-level reasoning for one-swap maximization, and text tokenization with aggregation and ranking for sentiment-based scoring.

    Coding & AlgorithmsOnline Assessment
  • ByteDanceMediumSoftware Engineer
    Count House Segments After Sequential Demolitions

    Track the number of consecutive house segments after each requested demolition on an integer line. Each removal can eliminate an isolated segment, trim an endpoint, or split a run, so the solution must update the count efficiently across many distinct positions.

    Coding & AlgorithmsOnline Assessment
  • ByteDanceMediumSoftware Engineer
    Count Numbers with an Even Number of Digits

    Count how many positive integers in an array have an even number of decimal digits. Respect ordinary representations without leading zeroes, count repeated values independently, and handle boundaries such as 10 and 10000 correctly.

    Coding & AlgorithmsOnline Assessment
  • ByteDanceMediumSoftware Engineer
    Sort Every Concentric Matrix Border Clockwise

    Sort the values on every concentric border of a rectangular matrix and write them back clockwise from each border's top-left cell. Traverse corners exactly once, preserve interior layer boundaries, handle single-row or single-column centers, and leave the input unchanged.

    Coding & AlgorithmsOnline Assessment
  • C3 AIMediumSoftware Engineer
    Evaluate Factual Accuracy and Consistency in a Domain-Specific RAG Chatbot

    Evaluate a rare-disease RAG chatbot using domain consistency and expert review, and distinguish factual accuracy from retrieval metrics and lexical overlap.

    Machine LearningOnline Assessment
  • C3 AIMediumSoftware Engineer
    Maximum-Sum Star with at Most K Arms

    Find the maximum node-value sum of a graph star with at most k arms, allowing a center alone and avoiding harmful negative-value leaves.

    Coding & AlgorithmsOnline Assessment
  • Capital OneMediumSoftware Engineer
    Apply commands to transform a matrix

    This question evaluates array and matrix manipulation skills, specifically in-place row reversal, row swapping, and 90-degree rotation, and falls under the Coding & Algorithms domain with emphasis on practical implementation.

    Coding & AlgorithmsOnline Assessment
  • Capital OneMediumSoftware Engineer
    Block-Building Operations: Check Whether a Free Segment Starts at a Position

    Process operations on a number line that either place a block at a position or ask whether a segment of a given length starting at a position is free of blocks, and return the answers as a string of ones and zeros. It tests handling interleaved updates and range checks efficiently over large coordinates.

    Coding & AlgorithmsOnline Assessment
  • Capital OneMediumSoftware Engineer
    Check Alternating Highs and Lows Around a Circular Array

    Check strict high-low alternation around a circular array, including equal neighbors, wraparound comparisons, and the two-element case.

    Coding & AlgorithmsOnline Assessment
  • Capital OneMediumSoftware Engineer
    Count Pairs of Cyclically Equivalent Integers

    This problem tests your ability to normalize strings under cyclic rotation using hashing or canonical representation, combined with frequency counting to efficiently identify equivalent pairs.

    Coding & AlgorithmsOnline AssessmentHashingStringsCombinatorics
  • Capital OneMediumSoftware Engineer
    Count Pairs of Points Within 2 Units on Both Axes

    A coding question that asks how many pairs of points intersect, where two points intersect when both their x-coordinates and their y-coordinates differ by at most 2. It tests counting unordered pairs with duplicate points, inclusive bounds and scaling to 100,000 points with large coordinates.

    Coding & AlgorithmsOnline Assessment
  • Capital OneHardSoftware Engineer
    Count Subarrays Containing at Least k Disjoint Pairs of Equal Values

    Count the contiguous segments of an integer array, framed as fruit types on a conveyor belt, that contain at least k pairs of equal values with no position used in two pairs. Tests reasoning about how the number of disjoint pairs changes as a segment grows, and efficient counting on inputs of up to 100,000 elements.

    Coding & AlgorithmsOnline Assessment
  • Capital OneMediumSoftware Engineer
    Count Subarrays Whose Step-by-Step Changes Match an Up, Flat, Down Pattern

    Count the fixed-length windows of an integer array whose consecutive rises, equal steps, and drops follow a given pattern of 1, 0, and -1 values, counting overlapping matches separately. Tests turning a comparison rule into an exact window check with correct index bounds.

    Coding & AlgorithmsOnline Assessment
  • Capital OneMediumSoftware Engineer
    Count Three-Digit Numbers With All-Distinct Digits in a Range

    A coding question that asks you to count the three-digit integers in an inclusive range whose hundreds, tens and units digits are all different from one another. It tests digit extraction, inclusive range boundaries and treating zero digits like any other digit.

    Coding & AlgorithmsOnline Assessment
  • Capital OneMediumSoftware Engineer
    Count Windows That Follow an Increase, Equal, Decrease Pattern

    A coding question that gives an integer array and a pattern of 1, 0 and -1 values standing for an increase, an equal step and a decrease, and asks how many windows of consecutive elements follow the pattern exactly. It tests translating pairwise comparisons into steps and counting overlapping matches efficiently.

    Coding & AlgorithmsOnline Assessment
  • Capital OneMediumSoftware Engineer
    Count ordered pairs that concatenate to target

    This question evaluates a candidate's ability to manipulate string and numeric representations, perform efficient counting, and leverage associative data structures to identify matching concatenations.

    Coding & AlgorithmsOnline Assessment
  • Capital OneMediumSoftware Engineer
    Design Nearest-Pickup Search with Time

    Design efficient nearest-pickup search for latitude-longitude data and a time-aware extension while clarifying distance, ties, result order, and temporal ranking.

    Software Engineering FundamentalsOnline Assessment
  • Capital OneMediumSoftware Engineer
    Find Repeated-Value Patterns in a Matrix

    Match a symbol pattern inside an integer matrix using per-window bijections, repeated values, distinct symbols, and ordered match coordinates.

    Coding & AlgorithmsOnline Assessment
  • Capital OneMediumSoftware Engineer
    Find the First Array Element Smaller Than Both of Its Neighbors

    A coding problem that asks for the first element of an integer array whose left and right neighbors are both strictly larger than it, returning -1 when no element qualifies. It tests careful boundary handling, strict comparisons when neighbors are equal, and precise output rules.

    Coding & AlgorithmsOnline Assessment
  • Capital OneMediumSoftware Engineer
    Find the Row Watched by the Most Security Cameras

    Each security camera covers a symmetric band of rows around its mounted position; find the integer row watched by the most cameras, breaking ties toward the smallest row number, using a sweep-line count instead of scanning every covered row.

    Coding & AlgorithmsOnline Assessmentsweep-linesortingintervals
  • Capital OneMediumSoftware Engineer
    Find the Top-Left Submatrix Matching a Grid Pattern With Letter Variables

    Locate a pattern grid inside an integer matrix, where each pattern cell is either an exact number or a letter that must stand for one consistent value, and return the top-left corner of the match with the lowest row and then the lowest column. It tests two-dimensional scanning, variable binding, and tie-breaking rules.

    Coding & AlgorithmsOnline Assessment
  • Capital OneMediumSoftware Engineer
    Implement 2D transforms and find max-lit point

    This question evaluates array-manipulation and interval-analysis skills, specifically in-place 2D matrix transformations (row/column swaps, reversals, rotations) and determining the point with maximum overlap among one-dimensional illumination intervals.

    Coding & AlgorithmsOnline Assessment
  • Capital OneHardSoftware Engineer
    Reorder a String by Alternating Its Front and Back Characters

    Rearrange a string by taking characters alternately from its front and its back: first, last, second, second-to-last and so on until every character is used once. Tests clean index handling for even and odd lengths and building the result efficiently for long inputs.

    Coding & AlgorithmsOnline Assessment
  • Capital OneMediumSoftware Engineer
    Reorder a String by Alternating Its Left and Right Ends

    This problem tests string manipulation, two-pointer logic, and the ability to efficiently manage index traversal in both directions simultaneously.

    Coding & AlgorithmsOnline AssessmentTwo PointersStringsAlgorithms
  • Capital OneMediumSoftware Engineer
    Return the Top Two Teams by Points, Goal Difference, and Tie Breakers

    Implement a ranking algorithm to evaluate sports competition matches, compute points, goal differential, and total goals for each team, and return the indices of the top two teams using multi-level tie-breakers.

    Coding & AlgorithmsOnline AssessmentSortingHash TableArray
  • Capital OneMediumSoftware Engineer
    Simulate Rot Spreading Through an Orchard Grid Over a Number of Days

    A grid simulation question about an orchard of rotten trees, healthy trees and empty ground, where each day rot spreads at once from every rotten tree to the healthy trees directly beside it. It asks for the orchard after a given number of days and tests simultaneous updates, blocked cells and very large day counts.

    Coding & AlgorithmsOnline Assessment
  • Capital OneMediumSoftware Engineer
    Solve four algorithmic coding tasks

    This multi-part question evaluates algorithmic problem-solving across frequency counting (equal-value pairs), simulation and in-place grid transformation (match-three gravity), matrix diagonal pattern checking, and interval/range data-structure management, emphasizing correctness under constraints and rigorous time/space complexity reasoning.

    Coding & AlgorithmsOnline Assessment
  • Capital OneHardSoftware Engineer
    Solve multiple algorithmic interview questions

    This multi-part prompt evaluates algorithmic problem-solving and core data-structure competencies such as array manipulation, modular/date arithmetic, matrix transformations, dynamic set and interval maintenance, string concatenation frequency counting, and path-based expression evaluation on grids.

    Coding & AlgorithmsOnline Assessment
  • Capital OneMediumSoftware Engineer
    Sort Each Adjacent Pair of an Array, Leaving an Odd Last Element in Place

    Given an integer array, put each consecutive pair of elements in ascending order while keeping every pair in its original place, and leave the final element untouched when the length is odd. Tests precise reading of a short specification and careful index handling.

    Coding & AlgorithmsOnline Assessment
  • Capital OneMediumSoftware Engineer
    Sort Every Concentric Matrix Border Clockwise

    This problem tests array traversal, boundary management, and sorting logic by requiring you to isolate concentric layers of a matrix and sort their contents independently.

    Coding & AlgorithmsOnline AssessmentArraysSortingMatrix