Netskope interview question

1. Convert JSON to Map object 2. Sorting an array by moving all duplicates to end of array etc.