Find random number number using binary search and linear search and get time execution time for each individually | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Find random number number using binary search and linear search and get time execution time for each individually

what is the execution time in nano second for only linear search and binary search?? (individually).

3rd Aug 2017, 6:22 AM
Tanbin Siddiqui
Tanbin Siddiqui - avatar
5 Answers
0
Yes.. "HOMEWORK".. not official..
5th Aug 2017, 7:29 AM
Tanbin Siddiqui
Tanbin Siddiqui - avatar
0
thank you. will you check my code?
5th Aug 2017, 7:47 AM
Tanbin Siddiqui
Tanbin Siddiqui - avatar
30th Dec 2019, 10:02 PM
Halelujah Awee Papua
Halelujah Awee Papua - avatar
- 1
Homework alert !
5th Aug 2017, 7:16 AM
VcC
VcC - avatar
- 1
Question is too generic. You ll find documentation on these algorithm with google. Regarding the nanoseconds if these is no function for this just run the test 1000 times : the microseconds time will give you the average nanosseconds !
5th Aug 2017, 7:45 AM
VcC
VcC - avatar