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
|
55 Discussions
|
Please Login in order to post a comment
This codes give the exact output for all test cases ,yet the compiler shows wrong output! Can anyone tell me whats wrong into this code`
For arr s.t. arr == {1}, the left and right can't add up to zero. Even saying there is a "left" and a "right" is nonsensical. Null + Null != 0.
def balancedSums(arr):
TypeScript