Tech Mahindra interview question

Given a string told to sort it

Interview Answer

Anonymous

20 Sept 2024

I have used inbuilt function. Told not to use inbuilt function. Tried using two for loops, told to use enumerate instead of two for loops.