Open TTsurutani opened 7 years ago
Difference between the number of red balls and green balls in every prefix of the sequence is at most 1.
https://www.hackerrank.com/challenges/sequence-full-of-colors
Difference between the number of red balls and green balls in every prefix of the sequence is at most 1.
https://www.hackerrank.com/challenges/sequence-full-of-colors