PharmEasy interview question

Reorganize String Reorganize String K Distance Apart