• @Fiery@lemmy.dbzer0.com
    link
    fedilink
    17
    edit-2
    9 days ago

    I did it the other way around in uni, we got a task with no mention of it requiring recursion (even though I suppose it was somewhat well suited to it). I solved it with a double for loop and the teacher refused to accept my submission.

    This was a coding class on Unix thinclients, I’ll let you guess how long ago.

    Answer

    3 years

    edit: thx sleeplessone@lemmy.ml for making the spoiler work :)

    • Sleepless One
      link
      fedilink
      English
      179 days ago

      The spoiler syntax is a bit different.

      :::spoiler 
      
      :::
      

      For example:

      Answer

      3 years