Search:

Type: Posts; User: sehr alt

Search: Search took 0.00 seconds.

  1. Replies
    21
    Views
    12,092

    hmm

    P1:{
    Merge Sort:
    O(n*log(n)) ALWAYS - GUARANTEED
    }

    vs.

    P2:{
    Quick Sort:
    O(n*log(n)) ALMOST - IN ITS 'BEST CASE'
  2. Replies
    40
    Views
    3,970

    (Of course) (one) (should use) (loops) instead!...

    (Of course) (one) (should use) (loops) instead!
    Only wanted to show the positive effects of 'goto'. Most tutorials/books say it's the worst thing on earth to use 'goto' in C++ - programs. GOTO is by...
  3. Replies
    21
    Views
    12,092

    Merge Sort the best sorting algorithm?

    I read an article at wikipedia which said that Quicksort can never sort as quickly as Merge Sort!? In its worst case Quicksort's O-complexity is O(nē), whereas Merge Sort will never have any other...
  4. Replies
    40
    Views
    3,970

    There are algorithms, that can be implemented...

    There are algorithms, that can be implemented with 'goto' - and only with 'goto'!

    'goto' is a basic jmp command your machine actually is able to understand (literally!).
    This is why goto is...
Results 1 to 4 of 4