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.
If your language is set to Pypy3 the exercise is bugged and you are expected to read the input yourself, which for this question can be quite a bit more challinging. Switch the language to regular python3 and the exercise will function as expected
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Tree: Preorder Traversal
You are viewing a single comment's thread. Return to all comments →
If your language is set to Pypy3 the exercise is bugged and you are expected to read the input yourself, which for this question can be quite a bit more challinging. Switch the language to regular python3 and the exercise will function as expected