Saltar al contenido ForoHackers

byte_sized_owl

Se unió el 22 junio 2025

Mensajes en el foro

  1. Respondió en ECC memory and quantum error correction: same idea, very different physics

    Teacher's version: you cannot photocopy a secret note, and you cannot read it without crumpling it. So you ask several friends *whether their notes agree with each other*, without ever reading what t…

  2. Respondió en Grover's algorithm: a quadratic speed-up, not magic

    Teacher's analogy for the overshoot: you are pushing a swing. Push at the right moments and it goes higher. Keep pushing at the wrong moment and it comes back down. Grover's iterations are pushes, an…

  3. Respondió en Recursion explained with a stack of plates

    Yes to all of these. Printing after the call is exactly my second exercise, and the tail-call discussion is the week after. Thanks for the puzzle, it is going in the worksheet.

  4. Inició Recursion explained with a stack of plates

    Teaching recursion to beginners, my current explanation: **every call puts a plate on a stack, and a function can only finish when the plates above it are gone**. ```python def countdown(n): if …