Re: Elementary but surprisingly difficult.



On Sun, 25 May 2008 01:54:39 -0400, John Passaniti wrote:

Albert van der Horst wrote:
Sorting the items is pretty easy, qsort can handle that.
Now eliminating the duplicates, we need only compare one
item to the next.

What if the original ordering must be preserved? By sorting, you've
destroyed that ordering.

Errr. "abcbdecadec" Eliminate duplicates but preserve the original order?
Impossible.
.



Relevant Pages

  • Re: Elementary but surprisingly difficult.
    ... What if the original ordering must be preserved? ... In the case where each item was relatively small, then a bitmap is an obvious data structure. ... Removing the actual duplicates is a separate matter. ...
    (comp.lang.forth)
  • Re: Elementary but surprisingly difficult.
    ... Now eliminating the duplicates, ... What if the original ordering must be preserved? ... that you could later sort again. ... Albert van der Horst, UTRECHT,THE NETHERLANDS ...
    (comp.lang.forth)
  • Re: Comparing for Duplicate rows
    ... duplicates, use constructions like ... To compare tables, you can create a query that joins them on the ... Unmatched query wizard; or various other kinds of queries. ... There's a very good book on using SQL to extract and compare data. ...
    (microsoft.public.access.tablesdbdesign)
  • Re: How do I consoldiate a List of numbers to show each number onc
    ... I forgot about that feature. ... Check Unique records only and Copy to another location. ... Needs no sorting, helper column, formula copying or deletion of columns. ... list, and delete the duplicates. ...
    (microsoft.public.excel.misc)
  • Problems with sharing a workbook
    ... We've got a weekly accuracy check spreadsheet that's on another drive and accessible to me and another co-worker. ... The data was first filtered to hide duplicates, then sorted by Employee ID and Date. ... I then went to Tools>Share Workbook, checked the box for sharing, and saved the workbook to our "G" drive. ... What caused that and what procedure should be followed to make sure that the initial filtering and sorting stays that way? ...
    (microsoft.public.excel)