Leetcode 2826. Sorting Three Groups | Hello Interview