3 ms·
Try learning about some simple sorting algorithms and implement them in python. Most algorithms resources have pseudocode and python conveniently resembles pseu
by capkutay 13y ago
Try learning about some simple sorting algorithms and implement them in python. Most algorithms resources have pseudocode and python conveniently resembles pseudo code in a way. You can just use wikipedia's page on sorting algorithms[0]. You could kill two birds with one stone by sharpening your python skills and get a nice intro to algorithms.
Then maybe try implementing some of the fundamental data structures such as queue's and linked lists[1] along with their basic operations (such as push and pop for queues). Try to see if you can use pythons built-in data structures[2], or do it yourself with object oriented programming.
0:https://en.wikipedia.org/wiki/Sorting_algorithm#Summaries_of_popular_sorting_algorithms https://en.wikipedia.org/wiki/Sorting_algorithm#Summaries_of...
1:http://en.wikipedia.org/wiki/List_of_data_structures http://en.wikipedia.org/wiki/List_of_data_structures
2:http://docs.python.org/2/tutorial/datastructures.html http://docs.python.org/2/tutorial/datastructures.html