• vzq
    link
    fedilink
    arrow-up
    30
    ·
    edit-2
    3 months ago

    deleted by creator

    • fiah@discuss.tchncs.de
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      If you are compelled to make a recursive algorithm iterative, consider using an explicit stack.

      yep, did that once to solve a specific problem, worked fine and if I recall correctly I could do it without making a total mess of my code