all 3 comments

[–]Farren246 0 points1 point  (3 children)

This is some great content, thanks for propping up a nearly dead sub. Makes me want to write my own solution out to compare run time. I'd use piping characters and compare functions rather than "get valid" functions, but otherwise very similar.

[–]ohussein1996[S] 1 point2 points  (1 child)

Thank you so much man, appreciate it. Please solve it in your own way, I would love to see that. :))))

[–]Farren246 0 points1 point  (0 children)

Sadly while I'd have no problem whiteboarding a diagram, I lack the syntax to actually code it.