We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Is This a Binary Search Tree?
Is This a Binary Search Tree?
Sort by
recency
|
895 Discussions
|
Please Login in order to post a comment
Java8: Could not find or load main class Solution Java7: passed all tests successfully
Very poor problem description. How should I know what's the input and what's the class structure for a Node? I am getting continiously - Node is not a valid...
Getting error ...saying can't find Solution class
I feel that this challenge could be improved if the author were to add "setup" code that transforms the STDIN into an object that can be accepted as an input parameter to the solution function that we write.
Most HackerRank challenges, in fact, include such code.
The idea is to allow solvers to focus their time/effort on solving the challenge itself rather than trying to parse the STDIN data.