Modify Windows Forms Sorting App
- Sai Krishna Teja, Kancharla
- Mouni Krishna, Atluri
- Mallikarjuna, Bodepudi
- Depends on the scenario. Bucket sort has less comparisions while quick sort has better time complexity in best case. However, bucket sort fails when its constraints are not met. But, according to this program, Bucket sort is fast.
- SortComparision.Program - class name, SortComparision.Program.Main - method name
- frmMain.cs
- InitializeComponent()
- SortComparision.frmMain:Form
- Value of the TrackBar "Samples" (Exception occurs. Change the maximum value.)
- ComboBox for Algorithm1
- ComboBox for Algorithm2
- // Not a question.
- Returns the CurrentDirectory(Debug)\output in String format.
- Shuffle button
- Sort button
- Modified to specify the algorithm name in the finish message box.