Skip to content

Conversation

@JollyCo-operation2527
Copy link
Collaborator

No description provided.

@JollyCo-operation2527 JollyCo-operation2527 changed the title Added a new question Added a new question using sort() method Oct 21, 2023
Write a program that initialize an empty list, then populate the list with 20 random integers from 1 to 99. Then write a function to sort those integers in ascending order. Print the result after each step.

Sample:

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To create a bit more of a challenge, you might add some restrictions on the kinds of methods that can be used to solve the problem(ex: not being allows to use Collections.sort());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants