
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Material Type: Assignment; Class: Intro Computer Science; Subject: Computer Science; University: Loyola Marymount University; Term: Fall 2006;
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!
Fall 2006
Having (presumably) assimilated the conceptual mechanics of the sequential search, binary search, insertion sort, and quicksort algorithms, as well as the general approaches for iteration and recursion, it’s time to try writing out iterative and recursive algorithms yourself, either in JavaScript or in pseudocode.
As has been mentioned, we are currently on Chap- ter 5 of the Brookshear book.
Implement the following algorithms. Use the JavaScript scratch page for the iteration algorithms, and use pseudocode for the recursive one.
You will get extra credit if you also implement one of these algorithms in JavaScript, using the JavaScript scratch page: