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.
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.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Is This a Binary Search Tree?
You are viewing a single comment's thread. Return to all comments →
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.