cs-field-guide icon indicating copy to clipboard operation
cs-field-guide copied to clipboard

Update Scratch programs in sorting and searching chapter sections

Open courtneycb opened this issue 5 years ago • 0 comments

The scratch implementation for binary search and linear search should be updated/improved. This can be found in the 'code to run' section here: https://csfieldguide.org.nz/en/chapters/algorithms/searching/#binary-search

Same goes for the scratch implementation of quicksort and selection sort. This can be found in the 'code to run' section here: https://csfieldguide.org.nz/en/chapters/algorithms/sorting/#quicksort

Consider using a variation of: https://scratch.mit.edu/projects/371086023/editor/ (check if we need permission). Note that quicksort doesn't work because of the way Scratch ignores variables local to one function in recursion.

For more info it would be best to chat with Tim.

courtneycb avatar Jun 29 '20 22:06 courtneycb