Nagarro interview question

Time Complexities of Counting Sort and Quick Sort