News for hackers. Stuff that matters.
Re:OpenTable Daily Algorithm Challenge by doesnotexist on Monday February 06, 2017 @03:59PM (#13583849)
I'm not sure if this is intentional or not but the "official" solution to today's challenge appears to have a bug.

https://github.com/opentable/ot-daily-algorithm/commit/e811a...

It will return true even when the tree is not a valid BST. Consider the case where a leaf in the left subtree contains a value higher than the root of the tree.

Re:OpenTable Daily Algorithm Challenge by jschapiro on Monday February 06, 2017 @04:08PM (#13583970)
@doesnotexist great point. With that said, that is not the official solution. There is no official solution. This is a community driven repo. Anyone can contribute.