Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Binary search key will be found 10% of the time
- Each search will have a total of 4,000,000 searches
- Size of array: 100, takes 0.210 seconds
- Size of array: 1000, takes 0.252 seconds
- Size of array: 10000, takes 0.315 seconds
- Size of array: 100000, takes 0.371 seconds
- Binary search key will be found 50% of the time
- Each search will have a total of 4,000,000 searches
- Size of array: 100, takes 0.191 seconds
- Size of array: 1000, takes 0.243 seconds
- Size of array: 10000, takes 0.310 seconds
- Size of array: 100000, takes 0.358 seconds
- Binary search key will be found 90% of the time
- Each search will have a total of 4,000,000 searches
- Size of array: 100, takes 0.181 seconds
- Size of array: 1000, takes 0.233 seconds
- Size of array: 10000, takes 0.303 seconds
- Size of array: 100000, takes 0.349 seconds
- Binary search key will be found 100% of the time
- Each search will have a total of 4,000,000 searches
- Size of array: 100, takes 0.174 seconds
- Size of array: 1000, takes 0.232 seconds
- Size of array: 10000, takes 0.301 seconds
- Size of array: 100000, takes 0.346 seconds
Add Comment
Please, Sign In to add comment