Follow

Okay I don't understand what's going on.

This guy github.com/alirezasmr/Dragon-B (first picture) claims to have solved an exercise, yet his solution pretty much looks recursive to the left to me anyway.

I solved it on the second picture. Am I correct or what?