Cognizant Interview Question

Q. Sorting a list and finding the 2nd highest value

Interview Answer

Anonymous

Oct 11, 2022

With python i coded it with inbuilt sort. I was then asked to sort it without inbuilt function so I choose bubble sort and solved the question. They asked time complexity and other stuff