Katkat

practice a little every day, paws crossed ♡

Software Engineering Fundamentals 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 1201–1208 of 1208 results

  • xAIMediumMachine Learning Engineer
    Dynamic Batching Decode Loop for a Mock Language Model with Slot Refilling

    An LLM inference coding question: write the generation loop for a mock language model that returns one next token per sequence in a batch. Requests finish at different steps on a stop token or a max-token limit, and freed batch slots must be refilled from a waiting queue, testing state tracking and batching logic.

    Software Engineering FundamentalsOnsite
  • xAIMediumSoftware Engineer
    Explain process vs thread and memory-sharing risks

    This question tests the conceptual understanding of process versus thread architecture and the synchronization challenges inherent in shared-memory multithreading.

    Software Engineering FundamentalsTechnical ScreenOperating SystemsConcurrencyMultithreading
  • xAIMediumMachine Learning Engineer
    Find All Faulty GPU Nodes with Parallel Group Tests That Cannot Share Nodes

    An algorithm design question about finding every faulty GPU node when the only tool is a group test that fails if any node in the set is bad. Tests need at least two nodes and parallel tests cannot share nodes, so it tests adaptive testing strategies, identifiability, and cost in rounds and tests.

    Software Engineering FundamentalsOnsite
  • xAIMediumFrontend Engineer
    Implement an Asynchronous React Typeahead

    Implement a debounced React typeahead with stale-response protection, cancellation, loading/error states, keyboard selection, and accessible combobox semantics.

    Software Engineering FundamentalsOnsite
  • xAIMediumFrontend Engineer
    Load and Display a React List with useEffect

    Load a React list with useEffect while handling endpoint changes, cleanup, stale responses, HTTP and schema errors, stable keys, and user-visible states.

    Software Engineering FundamentalsOnsite
  • xAIMediumSoftware Engineer
    Make a Racy BankAccount Deposit Thread-Safe Without Editing the Class, in Python and Go

    A concurrency question built around a BankAccount class whose deposit method reads the balance, sleeps, then writes it back. Candidates find every race, make deposits thread-safe through a subclass or wrapper without editing or copying the class, and carry the fix over to Go, which has no inheritance.

    Software Engineering FundamentalsOnsite
  • xAIMediumFrontend Engineer
    Render Nested JSON in a Code-Style Viewer

    Render nested JSON safely in React with indentation, type styling, collapsible containers, empty values, and explicit boundaries between a viewer and an editor.

    Software Engineering FundamentalsOnsite
  • xAIMediumMachine Learning Engineer
    What are processes vs threads?

    This question evaluates understanding of concurrency concepts—processes versus threads—including memory/address-space management, shared-memory versus inter-process communication, performance trade-offs for CPU-bound versus I/O-bound workloads, and failure/isolation implications such as crash containment.

    Software Engineering FundamentalsOnline Assessment