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.
brother your maths need to be brushed up
first off all you havn't included the last (1) in your result and even if you have not included, you haven't sum up all the values right
2+1+2+5+4+3+2+1+1 = 21
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Candies
You are viewing a single comment's thread. Return to all comments →
brother your maths need to be brushed up first off all you havn't included the last (1) in your result and even if you have not included, you haven't sum up all the values right 2+1+2+5+4+3+2+1+1 = 21