Beam Search Decoding from Scratch: The Interview Question I Failed

Fancy AI generated image not quite representative of beam search, but oh well.