top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Bubble/Selection Sort with strings?

+2 votes
293 views

Can someone share the C code for selection or bubble sort for string. String comparison should be based on dictionary comparison.

posted Jan 20, 2015 by Nikhil Pandey

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
0 votes

both seems to be same, can someone explain the difference with example and complexity?

+3 votes

1) Implement both algorithms
2) Test both on three cases of data:
a) sorted in increase order,
b) sorted in decrease order,
c) randomly
3) Use data of different sizes: 10000, 100000, 1000000.

...