Re:Bootstrapping My Side Project to $6k/Month
by archagon on Thursday November 16, 2017 @05:46PM
(#15717399)
Sure, but this assumes that foo is a valid String — just formatted incorrectly for use with an int. If we can't assume that TreeNode constitutes a valid (cycle-free) tree, we essentially have to embed a full cycle-checker in our otherwise simple inversion function. I would argue that goes against the intent of the question.
[ Parent
| on HN ]
There are no comments on this comment yet.