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.
seems the answer to the question is wrong even though it passed the test cases. the question askes to sort the result in ascendign order, which implies, at least to me, that the resulting list should be sorted in increasing order of the sum of its sub lists. when the list is sorted, the answer fails some test cases.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
List Comprehensions
You are viewing a single comment's thread. Return to all comments →
seems the answer to the question is wrong even though it passed the test cases. the question askes to sort the result in ascendign order, which implies, at least to me, that the resulting list should be sorted in increasing order of the sum of its sub lists. when the list is sorted, the answer fails some test cases.