You are viewing a single comment's thread. Return to all comments →
Due to the truly baffling nature of this code, I found it shocking that you passed the 10 test cases provided. This code does not work:
[5, 5, 7, 10, 12, 14, 15, 16, 18, 20] fails [1, 3, 6, 9, 10, 12, 15, 17, 19, 22] fails
Seems like cookies are disabled on this browser, please enable them to open this website
Trees: Is This a Binary Search Tree?
You are viewing a single comment's thread. Return to all comments →
Due to the truly baffling nature of this code, I found it shocking that you passed the 10 test cases provided. This code does not work:
[5, 5, 7, 10, 12, 14, 15, 16, 18, 20] fails [1, 3, 6, 9, 10, 12, 15, 17, 19, 22] fails