You are viewing a single comment's thread. Return to all comments →
I used a sliding window, just like you, but there was no need to build a sum array. https://www.hackerrank.com/challenges/the-birthday-bar/submissions/code/43358272
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 →
I used a sliding window, just like you, but there was no need to build a sum array.
https://www.hackerrank.com/challenges/the-birthday-bar/submissions/code/43358272