Re: In-place algorithm
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Fri, 23 May 2008 19:42:35 -0400
Juha Nieminen wrote:
Stephen Howe wrote:
If you are talking about linked lists, then the links themselves
can be manipulated, no auxilary memory is required.
I think that's only possible with doubly-linked lists, but not
with singly-linked ones (not in O(nlogn) anyways).
Yes, singly-linked lists are easily merge-sorted. I posted the
code to do so this morning, long before your posting.
--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.
** Posted from http://www.teranews.com **
.
- Follow-Ups:
- Re: In-place algorithm
- From: Juha Nieminen
- Re: In-place algorithm
- References:
- In-place algorithm
- From: fattorare
- Re: In-place algorithm
- From: Stephen Howe
- Re: In-place algorithm
- From: Juha Nieminen
- In-place algorithm
- Prev by Date: Re: The spinoza papers: design of the extra-precision number object 2
- Next by Date: read file, return number of bytes
- Previous by thread: Re: In-place algorithm
- Next by thread: Re: In-place algorithm
- Index(es):