Katkat

practice a little every day, paws crossed ♡

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 571–600 of 4616 results

  • AppleMediumSoftware Engineer
    Explain SystemVerilog verification concepts and write constraints

    This question evaluates proficiency with SystemVerilog verification concepts — including concurrency primitives, constrained-random modeling, assertions, OOP features, synchronization primitives, and testbench architecture — and tests the ability to specify non-overlapping/randomized constraints and reason about solve-order and sampling semantics; it is commonly asked because interviewers seek assurance that a candidate can build correct constrained-random testbenches and diagnose simulation or coverage issues. Category/domain: Software Engineering Fundamentals with a focus on hardware design verification; level of abstraction: language-level implementation details and testbench architecture/behavioral verification concerns.

    Software Engineering FundamentalsTechnical Screen
  • AppleMediumMachine Learning Engineer
    Explain Vision Encoders and LLM Bottlenecks

    This question evaluates understanding of vision encoders and their role in computer vision and multimodal models, familiarity with typical training approaches for encoders, and the ability to identify inference bottlenecks in large language models as well as knowledge of memory and latency optimization considerations.

    Machine LearningTechnical Screen
  • AppleHardMachine Learning Engineer
    Explain annotation agreement and LLM vs human judges

    This question tests a machine learning engineer's understanding of annotation reliability metrics and the trade-offs between human and LLM-based evaluation. It assesses conceptual and applied knowledge of inter-annotator agreement, metric selection across label types, and the validity of automated judges in model evaluation workflows.

    Machine LearningTechnical Screen
  • AppleMediumSoftware Engineer
    Explain key React concepts and error handling

    This question assesses a candidate's deep understanding of the React ecosystem, covering reconciliation, hook lifecycles, and robust error management strategies.

    Software Engineering FundamentalsTechnical ScreenReactFrontendError-Handling
  • AppleMediumSoftware Engineer
    Explain use cases for clock synchronizers

    This question evaluates understanding of clock domain crossing and digital system design competencies, focusing on metastability, synchronization techniques (such as flip-flop synchronizers, edge detection, asynchronous FIFOs, and request/acknowledge handshakes) and the trade-offs among reliability, latency, throughput, and area.

    Software Engineering FundamentalsTechnical Screen
  • AppleMediumSoftware Engineer
    Explain your LLM project and contributions

    This question evaluates technical leadership, end-to-end machine learning engineering skills, and domain knowledge of large language models by probing project goals, individual contributions, technical trade-offs, success metrics, and incident handling.

    Behavioral & LeadershipTechnical Screen
  • AppleEasySoftware Engineer
    Find Common Prefix Across Strings

    This question tests the ability to manipulate strings and iterate through arrays to find the longest common prefix among a list of words, emphasizing efficiency and edge-case handling.

    Coding & AlgorithmsTechnical ScreenStringsArraysAlgorithms
  • AppleMediumData Scientist
    Find Maximum Sum of Contiguous Subarray Length k

    This question evaluates skill in array manipulation and computing aggregate metrics over fixed-length intervals, along with understanding of algorithmic complexity and trade-offs between runtime and memory.

    Coding & AlgorithmsTechnical Screen
  • AppleMediumMachine Learning Engineer
    Find Minimum Processing Rate

    This problem tests your ability to use binary search on a search space to find an optimal minimum processing rate that satisfies a global deadline constraint.

    Coding & AlgorithmsTechnical ScreenBinary SearchGreedyOptimization
  • AppleMediumSoftware Engineer
    Find k Smallest Pair Sums

    This problem tests your ability to efficiently find the k-smallest pair sums from two sorted arrays using a heap-based approach to avoid exhaustive search.

    Coding & AlgorithmsTechnical ScreenHeapSortingTwo Pointers
  • AppleMediumSoftware Engineer
    Find top-k frequent elements efficiently

    This question evaluates algorithmic and data-structure skills, focusing on frequency counting, heap-based selection, streaming updates, and time/space complexity analysis within the Coding & Algorithms domain.

    Coding & AlgorithmsTechnical Screen
  • AppleMediumSoftware Engineer
    Generate Tower of Hanoi moves

    This question evaluates understanding of recursion, algorithmic problem decomposition, and analysis of time complexity when generating constrained move sequences.

    Coding & AlgorithmsTechnical Screen
  • AppleMediumSoftware Engineer
    Give a Kubernetes Pod a Token to Call an External Service Securely

    Decide how a Kubernetes pod should obtain a token for calling an external service. Tests knowledge of Secrets delivered as volumes or environment variables, RBAC and encryption at rest, external secret managers, workload identity with projected service account tokens, and rotating the token without downtime.

    Software Engineering FundamentalsTechnical Screen
  • AppleMediumMachine Learning Engineer
    How do you align ambiguous cross-functional projects?

    This question evaluates communication, cross-functional collaboration, stakeholder management, project scoping under ambiguity, product-technical integration, and domain-specific experience with AI-agent-based systems and designer collaboration.

    Behavioral & LeadershipTechnical Screen
  • AppleMediumSoftware Engineer
    How to debug a Python loop-condition bug

    This question evaluates debugging skills and understanding of loop termination and control-flow correctness in Python, emphasizing practical familiarity with debugging tools and techniques for isolating faulty loop conditions.

    Software Engineering FundamentalsTechnical Screen
  • AppleMediumSoftware Engineer
    How to root-cause Wi‑Fi chip stops after 30 minutes

    This question evaluates troubleshooting and diagnostic skills for embedded wireless systems, focusing on firmware behavior, testbed instrumentation, and measurement analysis.

    Software Engineering FundamentalsTechnical Screen
  • AppleEasyData Scientist
    How would you critique this regression?

    An Apple Data Scientist technical-screen statistics question that asks you to critique another analyst's linear-regression workflow for modeling website dwell time. It tests OLS assumptions (and why marginal normality of Y is not one of them), model-selection and overfitting bias from exhaustive interaction search, diagnostics and validation, and the distinction between prediction, inference, and causal goals on skewed outcome data.

    Statistics & MathTechnical Screen
  • AppleMediumSoftware Engineer
    How would you handle an unresponsive teammate?

    This question evaluates interpersonal leadership and project-management competencies—including communication, accountability, escalation judgment, stakeholder risk communication, and empathy—in a software engineering, behavioral and leadership context.

    Behavioral & LeadershipTechnical Screen
  • AppleEasyMachine Learning Engineer
    Implement Masked Multi-Head Self-Attention

    This question tests the ability to implement the core mechanics of a Transformer's multi-head attention mechanism, specifically focusing on linear projections, attention weight scaling, and causal masking.

    Machine LearningTechnical ScreenTransformersDeep LearningAttention
  • AppleMediumMachine Learning Engineer
    Implement TF-IDF scoring for documents

    This question evaluates understanding of information retrieval and text representation concepts—specifically TF–IDF weighting, tokenization, term frequency and document frequency—and measures competency in implementing an efficient scoring and ranking algorithm.

    Coding & AlgorithmsTechnical Screen
  • AppleMediumSoftware Engineer
    Implement a Consistent Hashing Ring From Scratch

    Implement a consistent hashing ring that maps string keys to server nodes with add, remove and lookup operations. Tests sorted-position lookup with wrap-around, deterministic hashing across processes, virtual nodes for load balance, operation complexity and how few keys move when membership changes.

    Software Engineering FundamentalsTechnical Screen
  • AppleMediumSoftware Engineer
    Implement a debounce function

    This problem tests your understanding of JavaScript closures, asynchronous timers, and the ability to maintain internal state across multiple function invocations.

    Coding & AlgorithmsTechnical ScreenJavaScriptClosuresAsynchronous
  • AppleHardSoftware Engineer
    Implement a lazy inorder traversal iterator

    This problem tests your ability to implement a binary tree iterator that performs inorder traversal using O(h) extra space, where h is the height of the tree, while maintaining an amortized time complexity of O(1) per call.

    Coding & AlgorithmsTechnical ScreenTreesIteratorStack
  • AppleHardSoftware Engineer
    Implement a robust REST API method

    Implement a robust REST API method 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
  • AppleMediumSoftware Engineer
    Implement a robust socket message reader

    This question evaluates understanding of socket programming, stream message framing, internal buffer management, EOF and error handling, input size limits, unit testing, and time/space complexity analysis.

    Coding & AlgorithmsTechnical Screen
  • AppleMediumMachine Learning Engineer
    Implement bag-of-words similarity search from scratch

    This question evaluates knowledge and implementation skills in text processing, vector-space models, and information retrieval, covering tokenization, term-frequency and TF–IDF weighting, cosine similarity, and ranking for similarity search within the Coding & Algorithms domain.

    Coding & AlgorithmsTechnical Screen
  • AppleMediumSoftware Engineer
    Implement deep clone for complex objects

    This question evaluates mastery of deep object cloning, reference and memory management, and knowledge of language runtime details such as prototypes, property descriptors, symbol-keyed and non-enumerable properties, and built-in types like Maps, Sets, Dates, RegExps, and typed arrays.

    Coding & AlgorithmsTechnical Screen
  • AppleEasySoftware Engineer
    Implement flood fill using BFS and DFS

    This question tests the ability to implement graph traversal algorithms (BFS and DFS) on a 2D grid, focusing on boundary conditions and state management.

    Coding & AlgorithmsTechnical ScreenGraphBFSDFS
  • AppleMediumAnalytics Engineer
    Implement most frequent key without using max()

    Category: Coding & Algorithms — this problem evaluates frequency counting, dictionary-based aggregation, string handling, manual maximum-finding without built-in functions, and stable tie-breaking by first appearance in the input.

    Coding & AlgorithmsTechnical Screen
  • AppleEasyData Engineer
    Implement most_frequent_key without using max()

    This question evaluates proficiency in Python fundamentals and object-oriented inheritance, focusing on frequency aggregation using a precomputed dictionary, iteration over mappings, and correct handling of ties and empty inputs.

    Coding & AlgorithmsTechnical Screen