
Modern LLM interviews are no longer just algorithm drills. You may be asked to implement attention masks, a KV cache, grouped-query attention, RoPE, a decoder-only Transformer, sampling strategies, memory estimates, or preference-optimization losses - from scratch, under time...