0

linear search for millions of elements ?

11th Jul 2018, 2:47 PM
Diva Mishra
6 odpowiedzi
0
what about it
11th Jul 2018, 7:35 PM
hinanawi
hinanawi - avatar
0
to search for millions of number how we write the program...?
17th Jul 2018, 6:17 PM
Diva Mishra
0
like you would any linear search program, millions aren't that big if your time complexity is linear Diva Mishra
17th Jul 2018, 7:04 PM
hinanawi
hinanawi - avatar
0
want to search numbers before 200000000000
18th Jul 2018, 2:01 AM
Diva Mishra
0
Diva Mishra that's billions of elements, 200 billion to be exact. when reaching a complexity that big, i recommend binary instead of linear search
18th Jul 2018, 6:45 AM
hinanawi
hinanawi - avatar
0
i have to do on linear search it is compulsory...
18th Jul 2018, 9:23 AM
Diva Mishra