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 1741–1770 of 5874 results

  • DatabricksMediumSoftware Engineer
    Design a stock order manager

    Design an equity Order Management System (OMS) that manages order lifecycles, ensures idempotent broker interactions, and guarantees state reconciliation under distributed failures.

    System DesignTechnical Screensystem-designdistributed-systemsfintech
  • DatabricksHardSoftware Engineer
    Design a thread-safe bounded queue

    This question evaluates skills in concurrent programming, synchronization primitives, and designing thread-safe bounded data structures that support blocking operations with timeouts, fairness, and backpressure.

    System DesignHR Screen
  • DatabricksMediumSoftware Engineer
    Design an IP filter using CIDR rules

    This question evaluates understanding of IP addressing and CIDR notation, bit-level conversion between prefixes and integer ranges, and the design of scalable data structures and algorithms for prefix/range queries, rule priority handling, and rule-set operations (allow/deny semantics).

    Coding & AlgorithmsTechnical Screen
  • DatabricksMediumSoftware Engineer
    Design an Online Book Seller Platform

    Design an end-to-end e-commerce platform for selling books, balancing read-heavy catalog exploration with strictly consistent inventory reservation and fault-tolerant checkout workflows.

    System DesignOnsiteE-CommerceDistributed SystemsTransactions
  • DatabricksHardSoftware Engineer
    Design an Online Bookstore

    This problem tests your ability to design a distributed e-commerce platform by focusing on consistency models for inventory, scalable search architecture, and robust order processing.

    System DesignOnsiteMicroservicesDistributed SystemsConsistency
  • DatabricksMediumSoftware Engineer
    Design an efficient Tic-Tac-Toe engine

    This question evaluates a candidate's understanding of efficient algorithm design and minimal state management for a Tic-Tac-Toe engine on an n x n board, including constraints such as O(1) time per move and O(n) space.

    Coding & AlgorithmsOnsite
  • DatabricksMediumSoftware Engineer
    Design an n x n Tic-Tac-Toe Game

    This problem tests your ability to design an efficient class to manage game state, focusing on constant-time win condition checking using auxiliary data structures.

    Coding & AlgorithmsOnsiteObject-Oriented DesignData StructuresOptimization
  • DatabricksMediumSoftware Engineer
    Design an online bookstore: DB insert succeeds but SQS publish fails, and duplicate messages

    System design question about an online bookstore whose order service inserts orders into a database and then publishes messages to Amazon SQS. Probes what should happen when the insert succeeds but the publish fails, how to keep the database and queue consistent across crashes, and how consumers avoid duplicate processing under at-least-once delivery.

    System DesignTechnical Screen
  • DatabricksMediumSoftware Engineer
    Design bookstore and chat messaging systems

    This question tests the ability to design two distinct systems: a reliable transactional e-commerce inventory service and a low-latency real-time chat application, focusing on appropriate database choices and communication protocols.

    System DesignOnsiteDistributed SystemsDatabasesReal-time
  • DatabricksHardSoftware Engineer
    Design concurrent range-aware file caching client

    This interview question evaluates requirements, scale assumptions, API/data design, architecture, trade-offs, failure modes, and rollout in a realistic interview setting. A strong answer for Design concurrent range-aware file caching client states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    System DesignHR Screen
  • DatabricksMediumSoftware Engineer
    Detect a K-in-a-Row Win on a Rectangular Board

    Implement an efficient win-detection function that checks whether a newly placed token forms at least k consecutive matching tokens along any linear axis on a rectangular grid.

    Coding & AlgorithmsOnsiteArraysMatrixGame Theory
  • DatabricksHardSoftware Engineer
    Determine allow/deny for an IP via CIDR rules

    This problem tests your ability to efficiently manage and query hierarchical IP address ranges, requiring knowledge of bitwise operations and data structures for range matching.

    Coding & AlgorithmsTechnical ScreenBit ManipulationTrieNetworking
  • DatabricksHardSoftware Engineer
    Discuss Motivation, Feedback, and Technical Disagreement

    This interview module evaluates engineering motivation, individual technical ownership, constructive receipt of critical feedback, and principled conflict resolution during technical disagreements.

    Behavioral & LeadershipOnsiteBehavioralLeadershipConflict Resolution
  • DatabricksMediumSoftware Engineer
    Earliest Substring That Is a Rearrangement of a Pattern

    Find the starting index of the first substring of a text that is a rearrangement of a given pattern, or report that none exists. Tests fixed-length sliding windows, character-frequency bookkeeping and linear-time scanning of long strings with an early exit.

    Coding & AlgorithmsOnsite
  • DatabricksHardSoftware Engineer
    Evaluate ACL rules for IP and CIDR

    This problem tests your ability to manipulate binary representations of IP addresses and perform efficient prefix matching using CIDR notation, requiring careful bitwise arithmetic and efficient lookup structures.

    Coding & AlgorithmsTechnical ScreenBit ManipulationTrieNetworking
  • DatabricksMediumSoftware Engineer
    Explain Your Motivation, Fit, and Company Understanding

    Prepare a coherent recruiter-screen narrative for a senior forward-deployed engineering role, covering motivation, evidence of fit, and verified company understanding. Use authentic examples of technical depth, delivery through ambiguity, customer communication, measured outcomes, honest gaps, uncertainty, and questions that test mutual fit.

    Behavioral & LeadershipHR Screen
  • DatabricksMediumSoftware Engineer
    Explain storing files to disk with concurrency

    This question tests your understanding of OS-level file I/O operations, the risks of concurrent writes to the same file descriptor, and how to implement robust thread-safe mechanisms to maintain file integrity.

    Software Engineering FundamentalsOnsiteConcurrencyFile I/OOS Fundamentals
  • DatabricksMediumSoftware Engineer
    Fastest Single-Mode Commute on a Grid with Per-Step Time and Cost

    Given a city grid with a start, a destination and cells usable by only one of four commute modes, choose the mode whose trip takes the least total time, breaking ties by lower total cost. Tests shortest-path search on grids, per-mode reachability and precise tie-breaking.

    Coding & AlgorithmsOnsite
  • DatabricksHardSoftware Engineer
    Find Path Between Fibonacci Tree Nodes

    This problem tests your ability to map nodes in a recursively defined tree structure without materializing the tree, requiring an understanding of Fibonacci sequences and path-finding algorithms in binary trees.

    Coding & AlgorithmsTechnical ScreenTreesRecursionMath
  • DatabricksHardSoftware Engineer
    Find all anagram start indices

    This problem tests your ability to efficiently detect pattern matches within a stream or string using a sliding window technique and frequency mapping.

    Coding & AlgorithmsOnsiteStringsSliding WindowHash Map
  • DatabricksMediumSoftware Engineer
    Find first CIDR block covering IP

    This question evaluates a candidate's understanding of IPv4 and CIDR notation, ability to perform prefix-based address containment checks using bitwise reasoning, and competence in parsing and efficient lookup across many ranges.

    Coding & AlgorithmsTechnical Screen
  • DatabricksMediumSoftware Engineer
    Find k customers with least revenue

    This question evaluates a candidate's ability to aggregate per-customer revenue from event streams and perform selection on aggregated totals, testing knowledge of data aggregation, selection algorithms, and efficient use of data structures.

    Coding & AlgorithmsTechnical Screen
  • DatabricksHardSoftware Engineer
    Find path between nodes in Fibonacci tree

    This problem tests your ability to navigate implicit tree structures defined by recurrence relations and your proficiency in pathfinding within large graphs without materializing them.

    Coding & AlgorithmsTechnical ScreenTreesRecursionFibonacci
  • DatabricksHardSoftware Engineer
    Find shortest path in a Fibonacci-ordered tree

    This question evaluates understanding of recursive binary tree structures, preorder indexing, Fibonacci-like size relations, and arithmetic-based navigation for computing paths in an implicitly defined tree.

    Coding & AlgorithmsTechnical Screen
  • DatabricksMediumSoftware Engineer
    First-Match CIDR Firewall: Status of an IP Address or a Whole CIDR Block

    Implement an ordered first-match IPv4 firewall that returns ALLOW or DENY for an address, then extend it so the target can be a whole CIDR block that is allowed only if every address inside it is. Tests bit-level prefix matching and reasoning about address ranges at scale.

    Coding & AlgorithmsOnsite
  • DatabricksMediumSoftware Engineer
    Forward Deployed Engineer Screen: Role Fit, Client Work and Databricks Projects

    Practice answers for a short recruiter phone screen for a Forward Deployed Engineer role at Databricks. It covers preferred location, understanding of the role, an experience walkthrough, client-facing work, data engineering tools built, a project delivered on Databricks, and programming languages, testing concise and honest communication.

    Behavioral & LeadershipHR Screen
  • DatabricksMediumSoftware Engineer
    Generalized m x n Tic-Tac-Toe with a k-in-a-Row Win Check

    Implement tic-tac-toe on an m by n board where a player wins with k consecutive marks in a row, column or either diagonal, returning the winner after each move. Tests incremental win detection that avoids rescanning the board, plus careful handling of edges and both diagonal directions.

    Coding & AlgorithmsOnsite
  • DatabricksHardSoftware Engineer
    Identify and handle race conditions

    This question evaluates understanding of concurrency, race conditions, synchronization mechanisms, and performance trade-offs in designing thread-safe in-memory data structures like key-value stores and hit counters.

    System DesignTechnical Screen
  • DatabricksMediumSoftware Engineer
    Implement CIDR firewall matcher

    This interview question evaluates requirements, scale assumptions, API/data design, architecture, trade-offs, failure modes, and rollout in a realistic interview setting. A strong answer for Implement CIDR firewall matcher states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Coding & AlgorithmsTechnical Screen
  • DatabricksMediumSoftware Engineer
    Implement Column Pruning and Filter Pushdown on a Query Plan Tree

    Given a SQL query represented as a tree of scan, filter, project and join nodes, write runnable rewrites that prune unused columns from every scan and push filter conditions down toward the tables. Tests query-optimizer fundamentals, recursive tree rewriting and preserving query results.

    Software Engineering FundamentalsOnsite