[algogeeks] Re: Java Algorithms and Data-structures Library

2008-07-13 Thread billjeff
So you wanna to implement a algorithm lib to help people to learn how some algorithm work? That would be great. Some network flow algorithm is not easy to understand, except with the help of visualization. Some graph algorithms like convex hull, finding the max distance in a set of 2d-points( Rota

[algogeeks] Re: Terms extraction

2008-06-14 Thread billjeff
W words in article. If we do not sort the words, it will take O(WT); if we sort words in each atilcle, it is O(Wlg(W)+Tlg(W)); or maybe hash is another choice, it takes O(W+T). If T is small, just use O(WT) way. Otherwise, use sort or hash instead. Roy M wrote: > Recently need to think of an eff