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.
Nice, logic bro!!! But I have a question y u have tkn the size of sum array as 105. Can't we take it as size of squares array +1 ?
sum[arrays.length+1];
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Subarray Division
You are viewing a single comment's thread. Return to all comments →
Nice, logic bro!!! But I have a question y u have tkn the size of sum array as 105. Can't we take it as size of squares array +1 ? sum[arrays.length+1];