Transformer / Attention Deep-Dive
Asked at Amazon · ML Fundamentals & Algorithms · Difficulty: Medium · Last asked Apr 29, 2026
Applied Scientist / MLE rounds drill the full Transformer stack: self-attention math, encoder vs decoder masking, multi-head intuition, optimizer choice, and modern variants (Flash Attention, RoPE, KV cache).
Loading the problem…