Interview questions with answer breakdowns — Page 16 of 52
Browse page 16 of Offer.cc interview question and answer breakdowns with reasoning, implementation details, follow-ups, and public sources.
Coding interview: Use centroid decomposition for dynamic nearest-marked-node distance
Derive centroid decomposition from its invariant, support node toggles and nearest-distance queries, and explain complexity, edge cases, and when heavy-light decomposition is better.
System design interview: How would you build an A/B platform that detects experiment-quality failures?
Design a platform spanning assignment, exposure events, SRM checks, and anytime-valid statistics for continuous monitoring, stopping, and audit.
Behavioral interview: How did you recover after a deadline was missed?
Focus on containment after the miss: replan the critical path, present scope and date options, keep stakeholders updated, and reach an accepted recovery state.
How would you use scrollbar-gutter to prevent scrollbar-induced layout shift?
Tests classic-scrollbar reservation, root and nested scroller scope, modal locking, RTL, fallbacks, and CLS measurement.
Backend Interview: How Would You Design an HTTP 402/x402 Pay-Per-Request API?
Starting from RFC 9110's reserved meaning for 402, design payment challenges, proof binding, replay protection, idempotent retries, refunds, and reconciliation for a pay-per-request API.
Data engineering interview: Safely attach vector indexes to Apache Iceberg snapshots
Design compute-storage-disaggregated vector search with Puffin files, snapshot atomicity, approximate nearest neighbors, and incremental maintenance.
Product Manager Interview: How Do You Choose Feature Flags, Progressive Rollouts, or A/B Tests?
Use a decision tree to separate exposure control, risk-limited rollout, and causal experimentation, covering metrics, bucketing, rollback, and flag governance.
General interview: How would you use WebTransport datagrams for lossy real-time state?
Use WebTransport semantics to design budgets, backpressure, sequencing, and fallback for unordered unreliable datagrams.
Coding Interview: How would you use a Li Chao tree for dynamic line minimum queries?
Derive a Li Chao tree from brute force, then explain arbitrary-slope insertion, discrete-domain queries, segment insertion, correctness, overflow, and when a monotone convex hull trick is simpler.
System design interview: Use Kubernetes Gateway API ListenerSets for multi-tenant ingress
Design delegated listeners, certificate isolation, deterministic conflicts, and controller convergence for a shared Kubernetes Gateway.
Behavioral interview design: how would you build a structured rating rubric for collaboration?
Translate a job competency into one behavioral question, consistent probes, and behaviorally anchored ratings so interviewers score evidence instead of impressions.
How does Service Worker navigation preload avoid startup delay on first navigation?
Explains NavigationPreloadManager timing, parallel requests, preloadResponse races, cache boundaries, and graceful fallback.
Backend Interview: How Would You Run WebSockets over HTTP/2 Extended CONNECT?
Design an RFC 8441 migration using :protocol and SETTINGS_ENABLE_CONNECT_PROTOCOL, with proxy fallback, stream lifecycle, and measurable rollout gates.
Data Engineering Interview: What Problem Does PostgreSQL 18 NOT ENFORCED Solve?
Use constraint declarations, legacy dirty data, and migration guardrails to define the boundary of PostgreSQL 18 NOT ENFORCED.
How would you design a SaaS subscription pause without billing confusion?
Design a subscription pause around user intent, entitlements, billing states, and resumption while choosing product metrics and safeguards.
OpenFeature Evaluation Context and Hooks: How Do You Keep Flagging Boundaries Clear?
Use the OpenFeature specification to explain evaluation context, typed flag evaluation, providers, and hooks without mixing business authorization, config sync, and telemetry side effects.
Coding Interview: How would you maintain distinct palindromic substrings online with an eertree?
Build an eertree with two roots, longest palindromic suffix links, online transitions, occurrence propagation, and clear boundary and complexity guarantees.
System design interview: How would you design a SCITT transparency service for supply-chain evidence?
Design an auditable software-supply-chain evidence service with signed statements, transparency receipts, verifiable history, and key lifecycle management.
Interview Question: Tell me about a time you handed off ownership before you felt ready
Use a real handoff story to show risk identification, progressive delegation, and evidence that ownership transferred safely.
Frontend interview: How would you design a privacy-safe responsive image pipeline with Client Hints?
Design responsive images with srcset, sizes, and minimal Client Hints while controlling CDN variants, privacy risk, and CLS.
Backend interview: How would you design hash-field TTLs with Redis HEXPIRE?
Use Redis 7.4 semantics to design field expiration, renewal conditions, notifications, compatibility, and recovery.
Data Engineering Interview: Why Can PostgreSQL 18 MERGE Fail on Duplicate Source Rows?
Use source cardinality, WHEN ordering, and RETURNING merge_action to reason about PostgreSQL 18 MERGE quality and audit boundaries.
Product manager interview: How do you choose strong, eventual, or stale-read consistency for user experiences?
Translate consistency guarantees into user-visible behavior, SLOs, cost, and rollback instead of chasing the strongest mode everywhere.
HTTP 1xx and 102 Processing: How Do You Explain the Protocol Boundary?
Use RFC 9110's interim-response model and RFC 2518's history to explain what 102 Processing can and cannot do, and when a long-running operation needs a status resource instead.