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.
- Sherlock and Array
- Discussions
Sherlock and Array
Sherlock and Array
Sort by
recency
|
153 Discussions
|
Please Login in order to post a comment
Javascript
My Solution using javascript
how can [2 0 0 0] has expected answer "YES"?
short c++ solution using prefix sums - i-th element is the sum of all the previous elements + the i-th element of arr.