Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I mean, it's literally a for loop:

    def visit(node):
        for child in node.children:
            visit(child)
I don't hire people in my current position, but I certainly think anyone baffled by that would be a giant red flag. It's simpler than FizzBuzz.


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: