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.
yeah...Because,as per the given constrain ,maximum size of array is 101 so that we have to inialize array with size of 101..if we reduce the size then,it may causes the error when we give the input element which beyond the limit contrain ..I hope u can understand my comment
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Equalize the Array
You are viewing a single comment's thread. Return to all comments →
yeah...Because,as per the given constrain ,maximum size of array is 101 so that we have to inialize array with size of 101..if we reduce the size then,it may causes the error when we give the input element which beyond the limit contrain ..I hope u can understand my comment