You need to log in or create an account to post to this user's Wall.
Alex and 1337c0d3r are now friends 1 year, 1 month ago
Alex commented on the post, Lowest Common Ancestor of a Binary Tree Part II 1 year, 3 months ago
What is “second” in (!visited.insert(q).second) ?
I know in Java, for “visited.add(q)”, if q exists, it will return false. But here, what is the mean of “second” ?
Alex commented on the post, Lowest Common Ancestor of a Binary Tree Part I 1 year, 3 months ago
I think it doesn’t matter. Since “given nodes in the tree” means pointer, not the value in the tree
Miao became a registered member 1 year, 3 months ago
Copyright © 2013 LeetCode · Log in