5 Replies Latest reply: Oct 7, 2006 11:14 PM by 807607 RSS

    how to write an O(nlgn) sorting algorithm using 3 stacks?

    807607
      as topic.
      the first stack will contain the numbers to be sorted.
      the other 2 will be empty initially.