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 151–180 of 1208 results

  • AppleHardSoftware Engineer
    Implement a Thread-Safe Event Tracker Over a Sliding Time Window

    Implement a thread-safe in-memory event tracker that records events and reports the events and their count within a sliding time window. Tests time-ordered storage with amortized eviction, window boundary semantics, lock scope and clock choice, out-of-order events, and memory under high event rates.

    Software Engineering FundamentalsOnsite
  • AppleMediumAccessories Software QA Engineer
    Improve QA Benchmarks, Regression Tests, and HPC Resource Use

    Explain functional regression testing, reproducible performance benchmarks, and how to reduce shared HPC resource use without weakening test coverage.

    Software Engineering FundamentalsOnsite
  • AppleMediumSoftware Engineer
    Improve chip performance without process advances

    This question evaluates understanding of digital architecture, microarchitecture, and logic‑level techniques for improving chip performance without process advances, along with competence in performance/power/area (PPA) trade‑off analysis and arithmetic block design.

    Software Engineering FundamentalsTechnical Screen
  • AppleMediumSoftware Engineer
    LRU Cache with Fewer Recency Writes and Concurrent Access

    Implement a fixed-capacity least-recently-used cache with constant-time get and put, then discuss two follow-ups: cutting the shared-state writes that every read causes when it updates recency, and making the cache safe and fast under concurrent access, including how eviction order changes.

    Software Engineering FundamentalsOnsite
  • AppleHardSoftware Engineer
    Make tree iterators safe under concurrency

    This question tests the ability to design a thread-safe iterator for a binary search tree (BST) that remains consistent even if the underlying tree structure is modified during iteration.

    Software Engineering FundamentalsTechnical ScreenConcurrencyTreesIterators
  • AppleMediumSoftware Engineer
    Optimize QA Benchmarks and Shared HPC Usage

    Optimize QA benchmark turnaround and shared HPC usage by profiling execution, controlling resources, and separating runtime savings from faster reporting.

    Software Engineering FundamentalsOnsite
  • AppleEasySoftware Engineer
    Parse and Summarize HTTP Access Logs

    Parse a strict HTTP access-log format and summarize valid requests, client errors, server errors, invalid lines, and failure percentage. The prompt tests full-field validation, precise metric denominators, status boundaries, streaming aggregation, and privacy-safe diagnostics.

    Software Engineering FundamentalsTechnical Screen
  • AppleMediumSoftware Engineer
    Pin Down a Vague HTML Parser Prompt, Build the Element Tree, and Query It with DFS

    A coding exercise in which the HTML parser prompt is deliberately vague, so the candidate must first pin down input, output and edge cases with concrete examples. It tests building a tree from nested markup in one pass, handling void and malformed tags, and answering a query with a depth-first traversal.

    Software Engineering FundamentalsOnsite
  • AppleMediumSoftware Engineer
    Reduce False Failures and Classify QA Outcomes

    Reduce regression false failures with reviewed acceptance rules, then classify causes and severity without confusing test categories with observed outcomes.

    Software Engineering FundamentalsOnsite
  • AppleMediumSoftware Engineer
    Return the First Successful Result from Parallel API Calls Under a Global Timeout

    Implement a function that runs several slow, failure-prone backend API calls concurrently and returns the first successful result within a single overall timeout. It tests concurrency primitives, deadline handling, reporting when every call fails, and cleaning up calls that are still in flight, using threads, futures, or async code.

    Software Engineering FundamentalsTechnical Screen
  • AppleEasySoftware Engineer
    Store Open-Hours Query: Weekdays, Split Shifts and Overnight Windows in Java

    A progressive Java coding exercise that asks whether a store is open at a given time as its schedule grows from one daily window to selected weekdays, several windows per day, and overnight windows that cross midnight and wrap from Sunday to Monday. It tests time modeling, boundary handling, and keeping evolving code readable.

    Software Engineering FundamentalsTechnical Screen
  • AppleMediumSoftware Engineer
    Time-to-Live Token Manager With Renewal and a Heavy Concurrent Read/Write Follow-up

    Implement a token manager in which each token expires a fixed time-to-live after it is generated or renewed, renewals extend only unexpired tokens, and a query counts live tokens. The follow-up asks how to keep it correct and fast under heavy concurrent reads and writes.

    Software Engineering FundamentalsTechnical Screen
  • AppleMediumSoftware Engineer
    Troubleshoot a Failing Kubernetes Pod: Where to Start and What to Check

    Explain how to troubleshoot a Kubernetes pod that has a problem, starting from its status, container states and events. Tests mapping Pending, ImagePullBackOff, CrashLoopBackOff, OOMKilled and not-Ready states to likely causes, using logs, debug containers and node checks, and separating mitigation from root cause.

    Software Engineering FundamentalsTechnical Screen
  • AppleMediumSoftware Engineer
    Validate and Assess Performance Benchmarks

    Assess QA benchmark validity using comparable baselines, measurement variation, practical impact, and clear ownership of regression thresholds and known issues.

    Software Engineering FundamentalsOnsite
  • AppleHardMachine Learning Engineer
    Walk Through an Agentic PDF Evaluation Codebase

    This question tests your ability to navigate, critique, and extend a modular codebase designed for evaluating agentic PDF processing pipelines, focusing on evaluation metrics and robust system architecture.

    Software Engineering FundamentalsTechnical ScreenAgentic-WorkflowsEvaluationLLM-Systems
  • AppleEasySoftware Engineer
    Write a Usage Example for a Resource-Owning C++ Class and Explain Its Semantics

    A C++ internship screen exercise: read an unfamiliar class that owns a heap array and write an example program showing callers how to use it correctly. It tests code comprehension and C++ fundamentals such as RAII, deleted copy operations, move semantics, noexcept, explicit constructors and const-correctness.

    Software Engineering FundamentalsTechnical Screen
  • Applied IntuitionMediumSoftware Engineer
    Build an Ingestion Service and Timestamp-Indexed Query API for MCAP Driving Logs

    A hands-on build exercise over recorded vehicle drive logs stored in MCAP, with Protobuf-encoded camera and location messages. The candidate ingests the runs, designs storage and a time index, exposes APIs to list runs and query messages by timestamp, then demos the result and explains how they worked with an AI coding assistant.

    Software Engineering FundamentalsOnsite
  • Applied IntuitionMediumSoftware Engineer
    Build and present a minimal vehicle log playback app from S3 data in two hours

    Given two hours, an AI coding assistant and an S3 bucket of unfamiliar vehicle log data, build a minimal 3D log playback app and then present it in 30 minutes. The exercise tests data exploration, tight scoping, verifying AI-generated code, and explaining trade-offs and future work clearly.

    Software Engineering FundamentalsOnsite
  • Applied IntuitionMediumMachine Learning Engineer
    Design Ordered CUDA Reduction

    This question evaluates understanding of parallel GPU programming, deterministic reduction ordering, and numerical stability in floating-point arithmetic, within the domain of parallel algorithms, GPU/CUDA programming, and numerical computing for a Software Engineering Fundamentals / Machine Learning Engineer role.

    Software Engineering FundamentalsTechnical Screen
  • Applied IntuitionMediumSoftware Engineer
    Design Parsing Boundaries for Interdependent Message Types

    Design parsing and type-resolution boundaries for interdependent message definitions, clarifying schema versus encoded input, forward references, recursion, and validation.

    Software Engineering FundamentalsTechnical Screen
  • Applied IntuitionMediumSoftware Engineer
    Design a C++ Ring Buffer for Producer-Consumer Use

    This problem tests your understanding of multi-threaded synchronization primitives, memory ordering, and circular buffer logic in a low-latency environment.

    Software Engineering FundamentalsTechnical ScreenC++ConcurrencyLock-free
  • Applied IntuitionMediumSoftware Engineer
    Design a Streaming TLV Message Reassembler in C

    Implement an in-memory reassembler in C that reconstructs out-of-order chunked TLV messages, validates chunk bounds and duplicates, and detects message completion.

    Software Engineering FundamentalsTechnical ScreenCSystems ProgrammingNetworking
  • Applied IntuitionMediumSoftware Engineer
    Design a Transactional Key-Value Store

    This problem tests the ability to design an in-memory key-value store that supports nested transactions, including atomic commits, rollbacks, and precise state management across layers.

    Software Engineering FundamentalsTechnical ScreenData StructuresSystem DesignTransactions
  • Applied IntuitionEasySoftware Engineer
    Design a mini compiler/interpreter

    This question evaluates understanding of language design and implementation skills, including lexical analysis, parsing into an AST, expression evaluation with operator precedence and unary operators, variable assignment semantics, and runtime error reporting.

    Software Engineering FundamentalsOnsite
  • Applied IntuitionMediumSoftware Engineer
    Locate Cars with a Boolean Square-Scan API

    Implement and analyze a quadtree-based search algorithm that locates all vehicles on a 2D grid using a Boolean square-scan API.

    Software Engineering FundamentalsTechnical Screenrecursiondivide-and-conquerquadtree
  • Applied IntuitionMediumSoftware Engineer
    Protobuf-Style Schema: Look Up Message Sizes and Field Types, Then Parse the Schema

    Implement size and field-type lookups over a simplified protobuf-style schema in which messages embed other messages, then write the parser that builds the schema from raw text. Tests schema data modeling, handling of nested, cyclic and unknown message references, clear error behavior, and robust parsing of proto-like definitions.

    Software Engineering FundamentalsTechnical Screen
  • Applied IntuitionHardSoftware Engineer
    Scale a Grid Fire-Spread Simulation Past What Fits in Memory

    Scale a working small-grid cellular-automaton fire-spread simulation to a dense multi-million-cell board that no longer fits in memory, by computing each generation with a three-row sliding window read from one file and streamed into another. Tests memory estimation and disk-backed algorithm redesign without changing the core update rule.

    Software Engineering FundamentalsTechnical Screensimulationstreamingfile-io
  • AqrMediumData Scientist
    Autopilot a Thruster Drone Through Randomized Canyon Walls

    Write a per-tick controller that fires a drone's thruster so it clears wall openings on unseen, randomized canyons. Tests modeling deterministic physics, depth-limited lookahead search, and choosing a horizon that generalizes.

    Software Engineering FundamentalsOnline Assessmentsimulationsearchgame-ai
  • AqrMediumData Scientist
    Autopilot for a Flappy Bird-Style Game Across Maps with Varying Pipe Gaps

    Build an autopilot for a Flappy Bird-style game that decides on every step whether the bird should flap so it flies through pipe gaps whose heights vary across unseen maps. Tests modeling the game's physics, planning ahead under a time budget, collision handling, and generalizing beyond a single map.

    Software Engineering FundamentalsOnline Assessment
  • AqrMediumData Scientist
    Autopilot for a Submarine Navigating Shifting Reef Gaps

    Write a controller that decides, on every tick, whether a mini-submarine should blow ballast to rise through reef-pair gaps of varying heights on unseen maps, using a short deterministic lookahead search.

    Software Engineering FundamentalsOnline Assessmentsimulationsearchgame-ai