0

How can I sort a dictionary in Python? Is it not possible to use the sort() function?

How can I sort a dictionary in Python? Is it not possible to use the sort() function? I know I have to use sorted(). Is the time complexity O(nlogn) even if sorted() is used?

8th Apr 2022, 5:21 AM
Kevin Kim
Kevin Kim - avatar
1 Odpowiedź
0
Jay Matthews Thank you. Do you know time complexity in your code? and see my code! How think that? https://code.sololearn.com/cv6Jsifw07H0
8th Apr 2022, 6:45 AM
Kevin Kim
Kevin Kim - avatar