[Hacker Earth] Collecting ApplesRead more
[Hacker Earth] Micro and Sweet DistributionRead more
[Hacker Earth] Micro and Array FunctionRead more
[Hacker Earth] Candy DistributionRead more
[LeetCode] Maximum Score After Splitting a String

1422. Maximum Score After Splitting a String

Given a string s of zeros and ones, return the maximum score after splitting the string into two non-empty substrings (i.e. left substring and right substring).

The score after splitting a string is the number of zeros in the left substring plus the number of ones in the right substring.

Read more
[Hacker Earth] Numbers SummationRead more
[Hacker Earth] Help FredoRead more
[Hacker Earth] Traditional ArrayRead more
[Hacker Earth] Filler GameRead more
[Hacker Earth] Game of ColorsRead more