Sorting Three Groups - DSA Problem | Talentd