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.
Just to save a lot of time and frustration for other people, it appears that test cases #1 to #8 have an extra space at the end of the numbers line, unlike text case #9 given as an example.
That was messing with my code and it took me a while to figure out I had to remove that unexpected extra space. Thanks to other people in this thread that mentionned the problem.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Arrays - DS
You are viewing a single comment's thread. Return to all comments →
Hello Everybody,
Just to save a lot of time and frustration for other people, it appears that test cases #1 to #8 have an extra space at the end of the numbers line, unlike text case #9 given as an example.
That was messing with my code and it took me a while to figure out I had to remove that unexpected extra space. Thanks to other people in this thread that mentionned the problem.