Day 5: Print Queue

Megathread guidelines

  • Keep top level comments as only solutions, if you want to say something other than a solution put it in a new post. (replies to comments can be whatever)
  • You can send code in code blocks by using three backticks, the code, and then three backticks or use something such as https://topaz.github.io/paste/ if you prefer sending it through a URL

FAQ

  • morrowind@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    4 days ago

    That’s insane, you just bruteforced it. It definitely would not work for larger arrays

    • JRaccoon
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      You’re absolutely right. Good for me then that the inputs weren’t any larger