Leetcode 2938. Separate Black and White Balls | Hello Interview