Mailing List Archive
tlug.jp Mailing List
tlug archive
tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] array duplicate check [C] [ Solved ]
- Date: Thu, 19 Apr 2007 09:41:54 +0900
 - From: "Josh Glover" <jmglov@example.com>
 - Subject: Re: [tlug] array duplicate check [C] [ Solved ]
 - References: <78d7dd350704180121g29133f9lc427b81d76fd58d0@example.com> <878xcqrpuh.fsf@example.com>
 
On 18/04/07, Stephen J. Turnbull <stephen@example.com> wrote:
Nguyen Vu Hung writes:
> The raw data is not sorted, but since they are loaded into memory so > the cost for sorting one of the array is cheap ( log M ).
Cost of a sort is M log M.
Assuming you have quicksort, and assuming non worst-case behaviour.
-Josh
- Follow-Ups:
 
- Re: [tlug] array duplicate check [C] [ Solved ]
 
- From: Stephen J. Turnbull
 
- References:
 
- Re: [tlug] array duplicate check [C] [ Solved ]
 
- From: Nguyen Vu Hung
 - Re: [tlug] array duplicate check [C] [ Solved ]
 
- From: Stephen J. Turnbull
 Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] TLUG shirt design vote
 - Next by Date: Re: [tlug] TLUG shirt design vote
 - Previous by thread: Re: [tlug] array duplicate check [C] [ Solved ]
 - Next by thread: Re: [tlug] array duplicate check [C] [ Solved ]
 - Index(es):
 
Home Page Mailing List Linux and Japan TLUG Members Links