0

Can someone explain me what is sorting ?

My apologies, I just truly do not understand the concept. Also, what's the deal with time complexity and dynamic arrays / linked lists?

11th Mar 2022, 12:38 PM
pravin patil
pravin patil - avatar
1 Resposta
0
Sorting is putting something in order Like if you take a deck of shuffled playing cards and put them in order. In this case time complexity describes how much time, in terms of n, is needed to sort n cards. Dynamic arrays and linked list are different types of containers. Each have pros and cons.
11th Mar 2022, 12:47 PM
Raul Ramirez
Raul Ramirez - avatar