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.
Still broken!! Seems like the internal mechanism is counting the number of items in the list, which it uses to assert the test results. So output should be a list so it counts the number of elements. Purchased all test cases and for some wierd reason, even though testcase #1 and #2 fail, seems like #3 and #4 pass, and the output is an integer (total number of elements in the list) just like in the first 2.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Array Of N Elements
You are viewing a single comment's thread. Return to all comments →
Still broken!! Seems like the internal mechanism is counting the number of items in the list, which it uses to assert the test results. So output should be a list so it counts the number of elements. Purchased all test cases and for some wierd reason, even though testcase #1 and #2 fail, seems like #3 and #4 pass, and the output is an integer (total number of elements in the list) just like in the first 2.