I need some help creating a non-binary tree (or some other data structure that will better solve my problem)

Posted by EDO on Programmers See other posts from Programmers or by EDO
Published on 2012-10-31T14:35:48Z Indexed on 2012/10/31 17:13 UTC
Read the original article Hit count: 176

Filed under:
|
|

I have about ten lists of numbers and some strings. Each list has about <= 30K lines. Each line on a list has a distinct number.

I need to build an efficient way of finding all the lines in each list that has the same 'control' number (or key for dB guys) and comparing what is in their string parts. I am writing this in Java.

I have thought about using trees but my brain cells are about burnt now. I need some help.

© Programmers or respective owner

Related posts about data-structures

Related posts about data