Current status: getting humbled by what should have been a simple case of recursion.

Follow

Turning it into explicit stack + for loop made me solve in 20min what I had already poured hours into. Damn you imperative mind.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml