Computer Science, asked by sabamunawwarsiddiqui, 5 months ago

Hi, can someone write a small program that benchmarks linear vs binary search on a some list or array in python and c++?

Please use functions from standard libraries for both c++ and python.

Take some generic linear, binary function for this but I am more curious about the benchmarking here. So basically I am asking for a great standard library utilization for timing these two algorithms.

Note: If possible, exclude the c++ 20 std features please.

Thanks in advance.​

Answers

Answered by hitakshishah007
0

Answer:

ohh this not clear to me....

but if you will mark as brainlist i will solve ,

.......

Similar questions