C. · @cazabon
158 followers · 3610 posts · Server mindly.social

@FluffyDeveloper

I suspect there's something else going on here, or your comments data is far different than I'm supposing.

Your flatten method works just fine for me with a tree of 600 comments. In fact, it works fine with 600,000 comments (recurs. lim. 1000)

Example test script:
pastebin.com/6Mdvu2WL

Without seeing your other code, I don't know what the issue you're running into. At a wild guess, is it possible your graph is not acyclic?

#Recursion #python #graph #cyclic #acyclic

Last updated 2 years ago

MarkG · @markgrieveson
74 followers · 199 posts · Server mindly.social

I remember seeing this gif, the , almost twenty years ago. It still mesmerizes me to this day.

#hasselhoff #Recursion

Last updated 3 years ago

1am1r (is ea it) · @1am1r
47 followers · 287 posts · Server mstdn.science

in action... I wonder if they are able to hold a thought for longer than half a minute.
---
RT @amir42
@randoCDN @ColetteMandin @elonmusk Let me circularly refer to the topic we are discussing... I'm out.

twitter.com/ColetteMandin/stat
twitter.com/amir42/status/1596

#COVIDIOTS #facepalm #Recursion

Last updated 3 years ago