Search:

Type: Posts; User: ashir30000

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    4,093

    Thanks iMalc! is swap() included in std...

    Thanks iMalc!

    is swap() included in std namespace?
  2. Replies
    3
    Views
    7,755

    determine if tree is strictly binary bst

    Hi, need a little help on this one.
    I need to write a member function to determine if my BST is
    strictly binary or not. The function should do this through a
    series of if statements, and simply...
  3. Replies
    9
    Views
    4,093

    Thanks for reply iMalc! I considered using...

    Thanks for reply iMalc!
    I considered using references to get answers to main(), but i think global will work better!

    about bubble sort, the analysis you provided (0.5*(n*n - n)), resembles one of...
  4. Replies
    9
    Views
    4,093

    yes, i understand that i have to have counters,...

    yes, i understand that i have to have counters, the only problem is where to place them?
    i tried placing them under swaps and comparisons, but it doesn't give the right answer.
  5. Replies
    9
    Views
    4,093

    Sorting Algorithms

    Here is my program!
    Couple of things i need help with, is finding:
    1)number of comparisons for each sort(i'm doing something already, but i don't think it's correct.
    2)number of interchanges....
Results 1 to 5 of 5