Nested: High School Computer Science. (2015, January 15). Nested - Algorithms - Intro [Video] YouTube. https://www.youtube.com/watch?v=uv0P81s_8iA
Algorithms are step by step processes that describes how to solve a problem and/or complete a task, which always give a result. An example is following a cooking recipe.
Searching a list by looking at each item
Nested: High School Computer Science. (2015, January 25). Nested - Algorithms - Linear Search [Video] YouTube. https://www.youtube.com/watch?v=o90HWplT-cw
Image from www.tutorialspoint.com
Searching a sorted list by looking at the middle item, and then searching the appropriate half recursively (repeatedly inside itself). Used for phone books, dictionaries and computer algorithms.
Nested: High School Computer Science. (2015, February 1). Nested - Algorithms - Binary Search [Video] YouTube. https://www.youtube.com/watch?v=S8lBhIxekpY
Image from www.tutorial4us.com
Go through the items in the list and find the smallest item. Once the smallest item is found, move it to the front of the list. Repeat with the next smallest item moved on the right of the smaller item. This is not a very fast algorithm.
Nested: High School Computer Science. (2015, February 6). Nested - Algorithms - Selection Sort [Video] YouTube. https://www.youtube.com/watch?v=Bb8R7xWGbos
Image from www.codingconnect.net
Start initially with an empty list and insert the first item into the list. Select the next item and place it in correct order in the list. Repeat until all items are in the list.
Nested: High School Computer Science. (2015, February 13). Nested - Algorithms - Insertion Sort [Video] YouTube. https://www.youtube.com/watch?v=_Odq-L2Kq5g
Image from www.wikipedia.org
Order the items in a list so that each item is appropriately before of after a pivot. The pivot is now in the correct location. Repeat the process for the items before the pivot...
Nested: High School Computer Science. (2015, February 20). Nested - Algorithms - Quicksort [Video] YouTube. https://www.youtube.com/watch?v=FJ2chul9vLk
Order the items in a list so that each item is appropriately before of after a pivot. The pivot is now in the correct location. Repeat the process for the items before the pivot...
Nested: High School Computer Science - Nested is a YouTube series aimed at teaching concepts of Computer Science to students studying in high schools.
CS Field Guide- An online interactive resource for high school students learning about computer science.
Sorting Algorithms Animation - Animations illustrating how effective data sets from different starting points can be sorted using different algorithms.