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
|
137 Discussions
|
Please Login in order to post a comment
Solution using binary search
def balancedSums(arr): if len(arr) == 1: return "YES"
C# Note: Initial attempt utilised Enumerable.Sum/GetRange which caused common timeout (Very inefficient).
Typescript
TS
Nice problem as it evaluates efficiency too