array practice

Views:
 
Category: Education
     
 

Presentation Description

No description available.

Comments

Presentation Transcript

Slide 4:

(d) What is the purpose of this algorithm? ............................................................................................................................................ (e) Give a situation where this algorithm will fail. ............................................................................................................................................ ............................................................................................................................................ (f ) Suggest a modification to the algorithm that will prevent it from failing. ............................................................................................................................................ ............................................................................................................................................ (g) With an ordered array, Items, of many more entries, what more efficient algorithm could be used to achieve your expressed purpose in part (d)? ...............................................................................................................................

Slide 6:

Continued on next page

answers:

answers