Question: java question! I have a very big csv dataset,(400MB 100K rows) Here is the example STATE CODE ZIP CODE STATE ABBREVIATION NAME LATITUDE LONGITUDE 25
java question!
I have a very big csv dataset,(400MB 100K rows)
Here is the example
| STATE CODE | ZIP CODE | STATE ABBREVIATION | NAME | LATITUDE | LONGITUDE |
| 25 | 2108 | MA | BOSTON | 71.06843 | 42.3576 |
| 36 | 10001 | NY | NEW YORK CITY | 73.99671 | 40.74838 |
| 42 | 19102 | PA | PHILADELPHIA | 75.16611 | 39.94891 |
| 24 | 21201 | MD | BALTIMORE | 76.6252 | 39.29463 |
| 11 | 20001 | DC | WASHINGTON | 77.01769 | 38.91222 |
| 37 | 28202 | NC | CHARLOTTE | 80.84186 | 35.229 |
| 13 | 30303 | GA | ATLANTA | 84.38885 | 33.7525 |
| 42 | 15112 | PA | PITTSBURGH | 79.83889 | 40.40358 |
| 39 | 43201 | OH | COLUMBUS | 83.00473 | 39.99516 |
| 18 | 46201 | IN | INDIANAPOLIS | 86.10935 | 39.77501 |
| 29 | 63101 | MO | ST. LOUIS | 90.19131 | 38.63462 |
.......................
I need to search the dataset, based on the users's input, maybe the muliple inputs,
So, i need to search the dataset, Which way is fastest, can i use binary search tree to do it??
Show code and explain, please help!!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
