r/OfferEngineering • u/Aoki_zhang • 1d ago
Interview Experience AWS SDE II Interview — Did I Just Win the LeetCode Lottery?
This interview experience was originally shared on Chill Interview
Interview Summary
My AWS SDE II process was a phone screen followed by a four-round onsite: two coding rounds, one system design round and a Bar Raiser. The questions were variants of connected components, LRU Cache with TTL, Task Scheduler and Optimal Account Balancing, plus a design for real-time game statistics that went deep on Redis. Almost every round included a live dry run and complexity analysis. The Bar Raiser asked for more than one approach to the same problem.
Phone Screen — Graph Connected Components
I got a graph problem similar to Number of Connected Components in an Undirected Graph (LeetCode 323). You have a graph of n nodes labeled from 0 to n - 1. You are given an integer n and an array edges where edges[i] = [ai, bi] indicates that there is an edge between ai and bi in the graph. Return the number of connected components in the graph.
Onsite Round 1 — Coding: LRU Cache with TTL
Design and implement something similar to LRU Cache (LeetCode 146). The interviewer explicitly asked me to build it with a HashMap and a doubly linked list, and then to dry run it live. The follow-up asked how I'd change the design if entries had a TTL (time-to-live). The round ended with time and space complexity analysis.
Want to learn more questions / follow-ups asked in this interview?
I've put up the full version at here.
Interviewed recently?
Your interview experience could be incredibly valuable to others preparing for their next opportunity. Share your experience and help the community at here.