Cognizant Interview Question

what is the difference between sort() and sorted()? also what algorithm does sort() use?

Interview Answer

Anonymous

Nov 17, 2024

explain what are sort and sorted. sort() function uses Tim sort