(191775152) Lab Report Example
(191775152) Lab Report Example
On my honor, as a Mississippi State University student, I have neither given nor received unauthorized assistance on this academic work.
CSE1384 Intermediate Computer Programming Class Section #12 Rikk Anderson Feb. 28, 2014
The main goals of this class were to implement linear search, binary search, insertion sort and analize their complexities. Linear search has order of n time complexity, as analized below.
For the binary_search procedure, I could have used a recursive algorithm for more clarity on the code, but I could not figure it out, in class, how to do it using only two parameters. Later, I could think that we could have two binary_search procedures, where the one required (with two parameters) calls the other one.