Python Forum
Random Number sorting - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Random Number sorting (/thread-12083.html)



Random Number sorting - Siddharth1989 - Aug-08-2018

Hi,
I want to know how you can fill and sort a list of randomly generated integers in a certain range without using any built-in functions or external libraries.


RE: Random Number sorting - buran - Aug-08-2018

you can implement any of these sorting algorithms yourself
https://en.wikipedia.org/wiki/Sorting_algorithm#Comparison_of_algorithms


RE: Random Number sorting - ichabod801 - Aug-08-2018

You should also look into pseudorandom number generators. Linear congruential generators are especially easy to implement.