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.
Why is the integer for the size of the array different with the array elements being inputed for example :
1. int size=6;
elements in the array =5.
2.int size =10
3.elements in the array=11 ?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Closest Numbers
You are viewing a single comment's thread. Return to all comments →
Why is the integer for the size of the array different with the array elements being inputed for example : 1. int size=6; elements in the array =5. 2.int size =10 3.elements in the array=11 ?