Interview questions with answer breakdowns — Page 6 of 7

Browse page 6 of OfferCC interview question and answer breakdowns with reasoning, implementation details, follow-ups, and public sources.

Interview questions and answers 154

BackendHard

Backend interview: How do you generate HTTP 103 Early Hints for dynamic pages?

Build a high-confidence resource-prediction policy for pages that vary by user, experiment, or authorization, while bounding privacy and misprediction risks.

Open the question and answer
GeneralHard

General Interview: Explain Linearizability vs. Sequential Consistency

Use operation histories to distinguish linearizability, sequential consistency, and eventual consistency, then connect the choice to latency and availability.

Open the question and answer
CodingHard

Python Coding Interview: When Is Free-Threading Worth Adopting?

Derive an adoption decision for Python free-threading from the GIL, workload shape, and extension compatibility, with migration checks, thread-safety trade-offs, and validation steps.

Open the question and answer
FrontendHard

Frontend Interview: How Would You Use the View Transition API Safely?

Design same-document and cross-document view transitions with browser fallback, async updates, reduced motion, focus management, and performance boundaries.

Open the question and answer
BackendHard

How Would You Use Kubernetes PartialObjectMetadata to Cut Read Cost?

Design Kubernetes metadata-only negotiation with PartialObjectMetadata, Accept fallback, 406 handling, and resourceVersion-safe list/watch behavior.

Open the question and answer
GeneralHard

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.

Open the question and answer
CodingHard

Coding interview: How do you make Rust Tokio code cancellation-safe?

Use select cancellation, partial progress, ownership, and idempotent recovery to write async operations that do not lose state.

Open the question and answer
FrontendMedium

Frontend interview: How do you make asynchronous status updates perceivable to screen-reader users?

Design a stable status live region, announcement throttling, focus policy, and testable fallback for search, save, and upload operations.

Open the question and answer
GeneralMedium

How do you use Little's Law for service concurrency and queue capacity?

Use L = λW to connect throughput, average latency, and in-flight work, then detect unstable queues and plan limits, scaling, and validation.

Open the question and answer
CodingMedium

How would you implement a gap buffer for a text editor?

Implement cursor movement, insertion, deletion, growth, and invariants for a gap buffer, then explain when a piece table or rope is a better fit.

Open the question and answer
FrontendHard

How do you use scheduler.postTask safely with a progressive fallback?

Split long work with browser task priorities while handling cancellation, dynamic priority, compatibility, and long-task measurement.

Open the question and answer
GeneralHard

General Interview: How Does QUIC Connection Migration Survive Network Changes?

Explain QUIC connection IDs, path validation, and migration limits when a client moves from Wi-Fi to cellular, including NAT rebinding, privacy, 0-RTT, and failure paths.

Open the question and answer
CodingHard

Coding Interview: Implement a Radix Tree for Prefix Routing

Build insert, exact lookup, longest-prefix lookup, and delete with path compression, then defend invariants, complexity, and edge cases.

Open the question and answer
FrontendHard

How do you coordinate shared work across tabs with the Web Locks API?

Serialize shared-resource work across tabs and workers with navigator.locks, covering queuing, cancellation, crash release, and fallback limits.

Open the question and answer
GeneralHard

General Interview: How does ECH hide a site name in the TLS handshake?

Explains ClientHello, ECH configuration delivery, outer and inner handshakes, fallback, deployment dependencies, and metadata limits.

Open the question and answer
CodingMedium

Coding Interview: Solve Next Greater Element II with a Monotonic Stack

Treat a circular array as two bounded index passes and use a decreasing monotonic stack to find every next strictly greater value in linear time.

Open the question and answer
FrontendHard

How Do You Build Reliable Real-User Monitoring with PerformanceObserver?

Design a sampled, buffered, loss-aware RUM collector for LCP, resource, and long-task data while handling cross-origin limits and SPA views.

Open the question and answer
GeneralHard

General interview: How do you explain the WebAssembly Component Model and WASI?

Derive WebAssembly modules, Components, WIT worlds, and capability imports from a plugin-isolation problem, then cover compatibility, performance, and security tests.

Open the question and answer
FrontendHard

Frontend Interview: How Do You Design Maintainable Custom Element Lifecycles?

Reason from registration, lifecycle callbacks, Shadow DOM boundaries, attribute/property synchronization, and browser support to a maintainable Web Components design.

Open the question and answer
GeneralHard

General Interview: How Do ICE, STUN, and TURN Establish a WebRTC Connection?

Explain candidate gathering, connectivity checks, NAT failure modes, relay cost, and the boundary between signaling and ICE without collapsing three different protocols into one.

Open the question and answer
FrontendHard

Frontend interview: How would you design a browser video pipeline with WebCodecs?

Use frames, bounded queues, workers, timestamps, backpressure, and capability checks to explain a measurable and degradable browser video pipeline.

Open the question and answer
GeneralHard

General interview: Verify a Merkle inclusion proof

Rebuild a Merkle root from a leaf index, tree size, and sibling path while handling direction, domain separation, bounds, and RFC 9162 constraints.

Open the question and answer
FrontendMedium

Frontend interview: Design an accessible HTML Popover

Use the native popover attribute, top layer, light-dismiss, and associated triggers for a non-modal surface while preserving focus and keyboard behavior.

Open the question and answer
GeneralMedium

How do you explain Unicode normalization and NFC, NFD, NFKC, and NFKD?

Explain multiple Unicode representations, the four normalization forms, version stability, and boundaries for search, identifiers, and security checks.

Open the question and answer