Interview questions with answer breakdowns — Page 38 of 52
Browse page 38 of Offer.cc interview question and answer breakdowns with reasoning, implementation details, follow-ups, and public sources.
How would you use Go's FlightRecorder for production diagnostics?
A Go interview guide to the Go 1.25 runtime trace FlightRecorder, ring-buffer sizing, trigger safety, and concurrent snapshots.
System design interview: Build a centralized authorization decision service
Derive the policy model from subject, action, resource, and context, then handle consistency, cache invalidation, tenant isolation, and auditability.
Frontend Interview: How Do You Implement Debounce and Throttle?
Implement debounce and throttle from an explicit timing contract, including leading and trailing calls, maxWait, cancellation, flushing, context preservation, and deterministic timeline tests.
Backend interview: Design an actionable 429 and Retry-After contract
Design a usable 429 response and client backoff contract from HTTP semantics, rate-limit dimensions, idempotency boundaries, quota hints, and recovery metrics.
Data engineering interview: design a cache for DAG-based query views
Keep dependent analytical views fresh and correct while avoiding a full recomputation after every source change.
Product Manager Interview: How Would You Design Email for Rural Users?
Narrow a broad rural audience, derive an offline-first email MVP for costly and intermittent connectivity, and validate comprehension, delivery confidence, privacy, and useful task completion.
General interview: How do you explain CAP and make consistency trade-offs?
Explain consistency, availability, and partition tolerance through a network-partition scenario, then connect the choice to user promises, recovery, and metrics.
Coding Interview: How does Java 25 ScopedValue safely propagate request context?
Compare ScopedValue with ThreadLocal and design immutable, lexical, structured-concurrency context propagation.
System design interview: How would you design a multi-tenant vector search service?
Design semantic retrieval for 100 million documents with approximate nearest-neighbor indexing, tenant filters, freshness targets, and measurable recall.
Frontend Interview: How Do You Diagnose and Fix Layout Thrashing?
Explain why alternating DOM writes and geometry reads forces repeated synchronous layout, then use a performance trace, read-write batching, and targeted rendering changes to fix and verify the bottleneck.
Backend interview: Design HTTP Range downloads with safe resume
Derive concurrency, integrity, and cache behavior for large-file downloads from Range, 206, Content-Range, and If-Range.
Data Engineering Interview: How Would You Use HyperLogLog for Distributed Unique Counts?
Start with the memory and shuffle cost of exact distinct counts, then derive HyperLogLog registers, error, merging, late data, and the boundary where exact results are mandatory.
Product Manager Interview: How Would You Reduce Notification Fatigue Without Hurting Critical Outcomes?
Build a notification strategy that protects time-sensitive user tasks while reducing low-value interruptions, opt-outs, and local metric gaming.
Linux interview: How would you diagnose high I/O wait?
Use iowait accounting boundaries, PSI, task states, device queues, and cgroup scope to build a verifiable Linux I/O diagnosis.
Coding interview: Implement weighted reservoir sampling
Maintain a fixed-size weighted sample without replacement from an unknown-length stream, covering keys, heaps, numerical stability, and merging.
System Design Interview: How Do You Verify That an Audit Log Was Not Tampered With?
Focus on canonicalization, segmented hash chains, signatures, and external anchors to locate deleted, reordered, or recomputed records.
Frontend Interview: How Do You Implement Optimistic UI Safely?
Design optimistic UI that survives overlapping mutations, out-of-order responses, failures, conflicts, and refetches by separating authoritative state from pending operations and choosing an explicit ordering policy.
Backend interview: design a unified HTTP API error contract with RFC 9457
Combine machine-readable problem types, field locations, and safe details into a stable API error contract.
Data Science Interview: How Would You Detect and Mitigate Training-Data Poisoning?
Use a threat model, data lineage, a trusted holdout, and staged release to answer a training-data-poisoning question while explaining evidence, cost, and residual risk.
Product Manager Interview: Design a Group Travel Planning Product
Design a group travel planner around shared constraints, fair decisions, and a clear commitment point. Learn how to choose an MVP, reduce organizer burden, define group-level metrics, and test whether a plan becomes actionable.
General Interview: How Would You Explain NUMA and Diagnose Remote-Memory Latency?
Trace a latency regression through NUMA topology, CPU and memory affinity, remote access, migration, and controlled experiments.
Coding interview: How should asyncio manage a dynamic deadline?
Use monotonic absolute deadlines, reschedulable timeouts, and cancellation-aware cleanup without leaking work.
System Design Interview: How would you build a verifiable software supply-chain provenance service?
Design provenance across build, signing, distribution, and deployment admission, binding claims to immutable artifact digests while handling key rotation, revocation, replay, CI trust boundaries, and verification failure.
Frontend Interview: How Do You Build an Accessible Drag-and-Drop Sortable List?
Design a sortable list that keeps pointer dragging, click or tap controls, keyboard operation, screen-reader announcements, focus, cancellation, and persisted order consistent through one state model.