It takes so me much time to figure out what does "mode" mean. Why not provide a explanation? It's really hard for me to find a connect between BST and "mode".
A more wired aspect is the testcase. My first submission get a wrong answer testcase [1,2,3,4,5,6,7,8,9,0], which is definitely not a BST.
Really bad experience. It would be better to provide Q&A during contest.
Sorry for the trouble, it should be a "binary tree", the wrong problem description has been fixed.
Totally agree! It's better to have a Q&A during contest. I keep searching for "binary tree mode", "binary search tree mode", and without any luck to know what "mode" means... (After the contest I realized I was so stupid not to know what "mode" is, though...)
Thanks for suggesting, we are discussing about this issue.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.