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 4771–4800 of 5874 results

  • 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
  • RunloopMediumSoftware Engineer
    Design a Minesweeper Bot That Decides Which Cell to Flag or Reveal Next

    Design a bot that plays Minesweeper and maximizes its chance of winning. The question tests how the bot turns revealed numbers into constraints, finds cells that are certainly mines or certainly safe, estimates the risk of every hidden cell when it must guess, and keeps each move fast and measurable over many games.

    Software Engineering FundamentalsTechnical Screen
  • RunloopMediumSoftware Engineer
    Return a Topological Order or Detect a Cycle

    This problem tests your ability to implement Kahn's algorithm for topological sorting while incorporating a priority-based tie-breaking mechanism to ensure deterministic output.

    Coding & AlgorithmsTechnical ScreenGraphTopological SortHeap
  • 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)EasySoftware Engineer
    Design a Cash Register with Inventory and Profit Tracking

    Design an object-oriented cash register that manages multi-lot product inventory using FIFO accounting, executes atomic multi-item sales, and accurately tracks realized gross profit.

    Software Engineering FundamentalsOnsiteObject-Oriented DesignData StructuresQueue
  • SIG (Susquehanna)EasySoftware Engineer
    Find Company Tickers Mentioned in a News Headline

    Implement a headline scanner that identifies mentioned company names using whole-word matching and returns their unique stock tickers in the order specified by the input mapping.

    Coding & AlgorithmsOnsiteStringsHash TableTrie
  • SIG (Susquehanna)MediumSoftware Engineer
    Find and Fix C++ Ownership Bugs: Double Free, Shallow Copy, and Object Slicing

    Tests a candidate's ability to identify and fix critical C++ resource management bugs, specifically shallow copies leading to double-free errors and object slicing caused by improper pass-by-value semantics with polymorphic types.

    Software Engineering FundamentalsOnsiteC++Memory ManagementRAII
  • SIG (Susquehanna)MediumSoftware Engineer
    Implement a Simplified std::vector with Manual Memory Management

    Tests practical systems programming in C++, specifically decoupling raw memory allocation from object construction, managing dynamic capacity growth, and adhering to the Rule of Five.

    Software Engineering FundamentalsOnsitecppmemory-managementdata-structures
  • SIG (Susquehanna)EasySoftware Engineer
    Index a CSV Movie Catalog for Fast Year-Range Queries

    Design an immutable movie catalog that parses CSV data and supports fast, inclusive year-range queries using binary search or indexing.

    Software Engineering FundamentalsOnsitebinary-searchdata-structurescsv-parsing
  • 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
  • SIG (Susquehanna)MediumSoftware Engineer
    Solve theatre seating and ticker extraction

    This question evaluates algorithmic problem-solving skills across two areas: efficient seat-allocation and interval occupancy reasoning for grouping in a constrained seating layout, and robust string processing with phrase-based, case-insensitive matching and mapping to ticker identifiers.

    Coding & AlgorithmsOnsite
  • SIG (Susquehanna)MediumSoftware Engineer
    Trees and Binary Search Trees: Taxonomy, Invariant, and Traversal/Search

    Tests understanding of binary tree taxonomy, global BST invariants versus local parent-child checks, and efficient tree search under range constraints.

    Software Engineering FundamentalsOnsitebinary-search-treetree-traversalrecursion
  • SalesforceHardSoftware Engineer
    Answer ownership, conflict, and failure recovery questions

    This question evaluates ownership, conflict resolution, incident response, stakeholder management, and accountability competencies relevant to software engineering.

    Behavioral & LeadershipTechnical Screen
  • SalesforceHardSoftware Engineer
    Architect serving and storage for recommender

    Architect serving and storage for recommender evaluates requirements, scale assumptions, API/data design, architecture, trade-offs, failure modes, and rollout in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    System DesignTechnical Screen
  • SalesforceMediumSoftware Engineer
    Behavioral deep dive: scaling decisions, zero-to-one platforms, traffic spikes, conflict

    Hiring manager behavioral round for a senior backend engineer: a deep dive into a system you own with probing on scaling decisions and failure modes, plus stories about building a platform from zero, handling an unexpected traffic spike, resolving cross-team conflict, and motivation for the move.

    Behavioral & LeadershipOther
  • SalesforceMediumSoftware Engineer
    Behavioral: Coaching a Teammate and Upholding Team Coding Standards

    Two-part behavioral question for senior engineers: how you helped a teammate get better at a specific task, and how you maintain coding standards across your team. It tests mentoring approach, measurable growth, automating standards, code review norms and building team buy-in.

    Behavioral & LeadershipOther
  • SalesforceMediumSoftware Engineer
    Behavioral: Pivoting Mid-Project and Handing Off Work You Owned

    Two-part behavioral question for senior engineers: a time you had to pivot in the middle of a project, and a time you were pulled off a project where you were the main point of contact. It tests adaptability, re-planning, stakeholder communication and responsible handoffs.

    Behavioral & LeadershipOther
  • SalesforceMediumSoftware Engineer
    Binary Tree Path Sum

    Determine if a binary tree contains a root-to-leaf path whose node values add up to a given target sum.

    Coding & AlgorithmsOnsiteBinary TreeDFSBFS
  • SalesforceMediumSoftware Engineer
    Choose DynamoDB vs MySQL for a backend

    This question tests your ability to evaluate database technologies based on specific application requirements, trade-offs in consistency models, and operational scalability.

    Software Engineering FundamentalsTechnical ScreenSystem DesignDatabaseNoSQL
  • SalesforceMediumSoftware Engineer
    Convert integer to NAF form

    This question evaluates understanding of number representations (Non-Adjacent Form), bit-level optimization, and formal proof techniques for demonstrating minimal Hamming weight, together with algorithmic complexity analysis.

    Coding & AlgorithmsOnline Assessment
  • SalesforceMediumSoftware Engineer
    Count the Steps at Which Set Bits Form an Exact Prefix of Ones

    Array problem: the bits of an all-zero binary string are set one at a time in the order given by a permutation; count the steps after which exactly the first i bits are set. It tests careful reasoning about prefix conditions and handling large inputs efficiently.

    Coding & AlgorithmsOther
  • SalesforceMediumSoftware Engineer
    Count the Ways to Split a Digit String into Primes

    Tests 1D dynamic programming combined with primality testing to count valid partitions of a digit string into prime segments modulo 10^9 + 7.

    Coding & AlgorithmsOnsiteDynamic ProgrammingMathNumber Theory
  • SalesforceMediumSoftware Engineer
    Delete Every Value That Repeats in an Unsorted Singly Linked List

    Linked list problem: delete every node whose value occurs more than once in an unsorted singly linked list, removing all copies and keeping the remaining nodes in their original order. It tests frequency counting, list traversal and careful handling of removals, including at the head of the list.

    Coding & AlgorithmsOther
  • SalesforceMediumSoftware Engineer
    Delete One Character Type to Minimize Unique Segments

    Determine which single character type to delete from a string so that greedily partitioning the remaining characters into substrings with all-unique characters yields the minimum number of segments.

    Coding & AlgorithmsOnline Assessmentgreedystringhash-table
  • SalesforceMediumSoftware Engineer
    Describe a memorable bug and persuasion story

    This question evaluates a software engineer's practical debugging, incident management, and root-cause analysis skills together with persuasion, stakeholder alignment, and leadership competencies when describing a memorable bug and influencing outcomes.

    Behavioral & LeadershipTechnical Screen
  • SalesforceMediumSoftware Engineer
    Describe the Team Environment in Which You Do Your Best Work

    Explain the concrete team behaviors, decision practices, feedback norms, and responsibilities that help you do your best work. Also show how you contribute to that environment and adapt when the team operates differently.

    Behavioral & LeadershipOnsite
  • SalesforceMediumSoftware Engineer
    Design O(nm) grouping of rearranged strings

    This question evaluates a candidate's understanding of string manipulation, hashing and frequency-count techniques, algorithmic optimization, and time/space complexity analysis when grouping anagrams.

    Coding & AlgorithmsTechnical Screen
  • SalesforceMediumSoftware Engineer
    Design a 911 emergency calling service

    This question evaluates a candidate's ability to design a highly available, scalable emergency-calling platform covering real-time call flow, accurate caller location validation, PSAP routing, interoperability with telephony/SIP providers, and regulatory/security considerations.

    System DesignOnsite
  • SalesforceMediumSoftware Engineer
    Design a Coffee-Shop Order-Management System

    Design a distributed order-management system for a multi-location coffee shop chain, focusing on transactional order states, menu snapshotting, idempotent payment processing, and resilient preparation workflows.

    System DesignOnsitesystem-designdistributed-systemspayments