Q1. Generate 10 thousand random integers with values in the range between 1 to 100.
Q2. Store each randomly generated number into a node and then attach the node to a linked list. The list must be in descending order at all times - when nodes are attached and at the end of the last attach operation.
Q3. Measure the required time to sort those random numbers into ascending order.
Ads