Interview Q&A · questions with model answers
FAANG / Big Tech Interview Questions
Part of the study plan for: Backend Engineer
Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.
-
Most asked Walk through time/space complexity of two-sum approaches.
Brute force O(n^2); hash map of complements O(n) time and O(n) space.
-
Most asked Explain LRU cache design.
Hash map + doubly linked list (or OrderedDict): O(1) get/put with eviction of least recently used key.
-
Most asked What happens when you type a URL in a browser?
DNS lookup, TCP/TLS handshake, HTTP request, server processing, response, rendering (HTML/CSS/JS), and caching layers.
-
Give an example of customer obsession (Amazon LP).
Customer obsession means making decisions that prioritize the customer's experience even when it conflicts with internal convenience, short-term cost savings, or team preferences. In an Amazon…
-
How do indexes work and when do they hurt?
Indexes speed lookups via B-trees/hashes but slow writes and use space.
-
Explain consistent hashing and why it matters for caches.
Maps keys to a ring so node add/remove remaps few keys.
-
Explain eventual consistency with an example.
Replicas may temporarily diverge after writes; clients may read stale data until sync.
-
Describe merge intervals.
Sort by start, iterate merging overlaps into a result list.
-
Describe diving deep into a metric that looked wrong.
Explain anomaly, investigation steps, tools, root cause, and resulting dashboard/process change.
-
Describe a cross-team project you led.
Scope, stakeholders, decision log, risks, delivery, and how you aligned incentives.
-
Explain App Store review and content distribution challenges.
Binary/asset delivery at global scale, signed packages, staged rollouts, regional compliance, review queues, and abuse.
-
Explain how you would A/B test a ranking change safely.
Randomized assignment, metrics guardrails, SRM checks, holdouts, gradual ramp, and kill switches.
-
How do you detect and resolve split-brain?
Use quorum, fencing tokens, leases, or consensus (Raft/Paxos).
-
Explain quickselect for kth largest.
Partition around pivot like quicksort; recurse into side containing k.
-
Explain container orchestration basics (Kubernetes).
Pods, deployments, services, autoscaling, and health probes.
-
How do you handle hot keys in a cache?
Replicate hot keys, add local caches, jitter TTLs, request coalescing, and revisit data model.
-
Explain OAuth2 authorization code flow briefly.
Client redirects to IdP, user consents, auth code returned, exchanged for tokens server-side—avoids exposing secrets in browser.
-
Explain MapReduce at a high level.
Map transforms records in parallel; shuffle groups by key; reduce aggregates.
-
How does Netflix think about chaos engineering?
Inject failures in production-like environments to validate resilience; improve detection and recovery continuously.
-
Explain Apple's emphasis on craftsmanship in interviews.
Expect deep product polish, attention to detail, and user empathy stories—not only algorithmic speed.
-
Explain garbage collection at a high level.
Automatic reclaim of unreachable objects; generational GC; trade pause times vs throughput.
-
Explain bloom filters and a production use case.
Probabilistic set membership with false positives, no false negatives (classic).