jeudi 19 mars 2015

Fastest way to find range in which number fits


I have a 5 million range list data like from (uint 32bit), to (uint 32bit) and id and I need to find a number which fits inside that range. Ranges doesn't overlap.


I am searching for algorithm for fast searching id of range in which this number fits.





Aucun commentaire:

Enregistrer un commentaire