trying to solve a puzzle which i found here: http://zcasper.blogspot.com/2005/10/google-phone-interview.html
the goal is to re-present a IP-Address range to country code look-up table in memory and use this data-structure to process a zilloin rows of ipaddress to identify the country code..
so i started with a shoot from the hip thought of using HashTable a hash-table works great; if we have a country-code to range look-up, as we have less country names that map to ip address ranges?
but not sure; how do i go with ipaddress to country code. any thoughts? or can i use a tree data-structure?