From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f6c360ce344b2364 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.234.38 with SMTP id ub6mr26541582pbc.2.1340291444579; Thu, 21 Jun 2012 08:10:44 -0700 (PDT) Path: l9ni3577pbj.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: My Invention of "Bug Sort". Date: Thu, 21 Jun 2012 08:10:43 -0700 (PDT) Organization: http://groups.google.com Message-ID: <604a0667-8467-414d-a35a-d6188cae3af0@googlegroups.com> References: <3852c348-a728-44ed-b065-c8a596c1e235@googlegroups.com> <698085ff-6ca3-4a0e-b963-11bdcf11e6b5@googlegroups.com> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 X-Trace: posting.google.com 1340291444 32315 127.0.0.1 (21 Jun 2012 15:10:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 21 Jun 2012 15:10:44 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-06-21T08:10:43-07:00 List-Id: On Wednesday, June 20, 2012 10:13:48 PM UTC-7, Simon Wright wrote: > "Jeffrey R. Carter" writes: > > >> 2 ) In "O(N log N)" do I assume log to the base 'e' or what. > > > > In "Big-O" notation, log is understood to be to the base 2. > > Isn't there a constant factor between log2(x) and ln(x)? Which is taken > up in the O? log[b] (x) = ln(x)/ln(b) for any base b. So, yes, the base doesn't matter in O notation. -- Adam