Interview questions with answer breakdowns — Page 41 of 52

Browse page 41 of Offer.cc interview question and answer breakdowns with reasoning, implementation details, follow-ups, and public sources.

FrontendHard

Frontend Interview: How Do You Diagnose and Fix JavaScript Memory Leaks?

Prove a leak with a repeatable action and post-GC baselines, locate the responsible object with heap snapshots, retaining paths, and allocation timelines, then fix ownership and rerun the same experiment.

Open the question and answer
BackendMedium

Backend interview: design an idempotency key for retry-safe commands

Design durable deduplication, state transitions, and expiry for commands whose response may be lost after a side effect.

Open the question and answer
DataHard

How Do You Handle Late and Out-of-Order Events in a Streaming Aggregation?

Use event time, watermarks, allowed lateness, and update outputs to handle disorder while balancing accuracy, latency, state size, and replayability.

Open the question and answer
ProductHard

Product Manager Interview: How Would You Build a 3x Growth Strategy?

Test a 3x target with an ARR driver tree, find the constraint by customer segment, and use evidence, incremental value, and stage gates to select two product bets.

Open the question and answer
GeneralHard

Linux Interview: How Do You Diagnose and Fix Zombie Processes?

Trace zombie processes to the parent that failed to reap them, distinguish PID exhaustion from other fork limits, mitigate safely, and design a permanent host or container fix.

Open the question and answer
CodingHard

Coding interview: How would you introspect Python 3.14 annotations without accidental evaluation?

Use annotationlib formats deliberately to inspect deferred annotations, preserve forward references, and keep plugin or schema discovery safe across Python versions.

Open the question and answer
System designHard

How do you design a Saga for multi-service order fulfillment?

Decompose a cross-service order workflow into local transactions with an orchestrator, idempotent steps, compensations, and observable eventual consistency.

Open the question and answer
FrontendMedium

Frontend Interview: Explain Event Propagation and Implement Event Delegation

Derive event delegation from the capture, target, and bubble phases; implement a dynamic list with target, closest, and ownership checks; then handle propagation stops, non-bubbling events, Shadow DOM, and listener cleanup.

Open the question and answer
BackendMedium

Backend interview: Why can a Node and NGINX timeout mismatch return an error while work completes?

Use an end-to-end timeline, proxy read-timeout semantics, cancellation propagation, and an async job boundary to diagnose cross-layer timeouts.

Open the question and answer
DataHard

How do you explain exactly-once processing and external side effects in streaming?

Separate delivery, pipeline-result, and side-effect guarantees, then design a replayable and observable stream with deduplication.

Open the question and answer
ProductHard

Product Manager Interview: How Would You Validate a Product Idea Before Building It?

Break the idea into falsifiable high-risk assumptions, use the cheapest valid experiment for each assumption to obtain behavioral evidence, and apply precommitted gates to build, narrow, pivot, or stop.

Open the question and answer
GeneralHard

Linux Interview: When Should You Use a Monotonic Clock Instead of Wall-Clock Time?

Separate timeouts, calendar jobs, suspend-aware leases, and cross-machine ordering to choose correctly among CLOCK_REALTIME, CLOCK_MONOTONIC, CLOCK_BOOTTIME, and non-clock ordering mechanisms.

Open the question and answer
CodingHard

Coding interview: How would you write reliable Go benchmarks with testing.B.Loop?

Use Go 1.24 testing.B.Loop to separate timing boundaries, compiler optimization, iteration dependence, and comparable performance experiments.

Open the question and answer
System designHard

How would you design a privacy-preserving product telemetry and analytics platform?

Design privacy boundaries from client collection to aggregate release, covering minimization, contribution caps, differential-privacy budgets, reliability, and auditability.

Open the question and answer
FrontendMedium

Frontend Interview: Why Is a Huge z-index Still Behind Another Element?

Debug a dropdown that stays behind a header even with a huge z-index by separating stacking-context order, clipping, containing-block geometry, and the browser top layer, then choose the smallest durable fix.

Open the question and answer
BackendMedium

Backend interview: How do you roll out HTTP 103 through CDNs and proxies?

Verify that 1xx responses survive the TLS terminator, reverse proxies, and CDN, then roll out with transparent fallback, wire-level observability, and real-user metrics.

Open the question and answer
DataHard

How do you build conformal prediction intervals for a regression model?

Build distribution-free prediction intervals from nonconformity scores and a calibration set, including exchangeability, drift, and width limits.

Open the question and answer
ProductHard

Product Manager Interview: How Would You Measure Product-Market Fit?

Learn how to evaluate product-market fit by segment using retention, payment, organic pull, customer dependency, and delivery cost, then turn mixed signals into a scale, focus, iterate, or pause decision.

Open the question and answer
GeneralHard

Linux Interview: Why Does RSS Stay High After Memory Is Freed?

Separate live allocations from allocator-retained pages and other mappings, then use procfs, allocator statistics, reuse, and trim experiments to distinguish a leak from fragmentation without trading memory for tail latency.

Open the question and answer
CodingHard

Coding interview: How would you test concurrent Go code with testing/synctest?

Use synctest bubbles, virtual time, and Wait to build deterministic concurrency tests while keeping real I/O and scheduling checks separate.

Open the question and answer
System designHard

System Design Interview: Design an Adaptive Admission-Control Gateway

Design an admission gateway that protects critical requests during traffic spikes and dependency degradation with priorities, bounded queues, load shedding, and fair recovery.

Open the question and answer
FrontendMedium

Frontend Interview: How Do You Build an Accessible Modal Dialog?

Build an accessible modal dialog by defining its semantic, focus, keyboard, dismissal, and layering contracts before choosing a native or custom implementation, then verify the complete focus lifecycle.

Open the question and answer
BackendMedium

Backend Interview: How Would You Design Consistent Cursor Pagination Under Concurrent Writes?

Use stable sort keys, opaque cursors, snapshot boundaries, and explicit duplicate/omission semantics to avoid OFFSET failures on changing datasets.

Open the question and answer
DataHard

How do you explain epsilon, sensitivity, and the privacy budget in differential privacy?

Define neighboring datasets, calibrate noise, account for composition, and evaluate utility without treating differential privacy as simple anonymization.

Open the question and answer