|
|
back to boardIdea something tells me that it must be solved by building a graph and finding strongly connected components for each new income of data. :)) Re: Idea Posted by Dudo 17 May 2007 13:42 It can be solved by using disjoint set.And hash table may be useful to help,or you can use binary search instead. |
|
|