iView Labs Interview Question

Sorting algos.(asked me to write the code)