Week 8 - Sorting Algorithms (Wednesday)

Learning Materials

You Try It #2

 

Explaining the YTIs

Now that you have done this, you can view my discussion about the two previous YTI activities.

Note, these videos are from a previous offering of the course. A few things may look different, but for the most part you should be able to follow along.

Bubble Sort

 

I'm not going to go into nearly the same level of detail with the other two sorts. Let's just convert them from pseudocode to python and then run them through PythonTutor. If you want to see paper walkthroughs for the pseudocode or talk to me about visualizing in Thonny, I will be happy to meet with you one-on-one and do this.

Insertion Sort

 

Selection Sort