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.
'n' is referring to the size of the array, and 'm' is a counter. As long as the counter is less than the size of the array, the while loop will continue to run.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Simple Array Sum
You are viewing a single comment's thread. Return to all comments →
'n' is referring to the size of the array, and 'm' is a counter. As long as the counter is less than the size of the array, the while loop will continue to run.