Click here to Skip to main content
15,921,841 members
Home / Discussions / C#
   

C#

 
AnswerRe: Find the best sort algorithm Pin
Alex Manolescu31-Mar-10 21:32
Alex Manolescu31-Mar-10 21:32 
GeneralRe: Find the best sort algorithm Pin
ndkit31-Mar-10 21:42
ndkit31-Mar-10 21:42 
GeneralRe: Find the best sort algorithm Pin
Alex Manolescu1-Apr-10 0:34
Alex Manolescu1-Apr-10 0:34 
Hi,
the example that i provided you is just an example. You can find many ways to sort an array.

For you're questions:
1. yes, you understand right! of course you can use merge sort if you wish, i've provided you just an example.
(another example: you can use quicksort to sort array A and B, then apply quicksort on D array!)
2. you can loop trough array A and B to fill the D array.

To see which algorithm is better try to set a timer at the start of the algorithm and at the end you'll see which is more faster Smile | :)

Cheer's,
Alex Manolescu
AnswerRe: Find the best sort algorithm Pin
dan!sh 31-Mar-10 21:45
professional dan!sh 31-Mar-10 21:45 
AnswerRe: Find the best sort algorithm Pin
riced1-Apr-10 1:25
riced1-Apr-10 1:25 
JokeRe: Find the best sort algorithm Pin
PIEBALDconsult1-Apr-10 6:58
mvePIEBALDconsult1-Apr-10 6:58 
AnswerRe: Find the best sort algorithm Pin
riced1-Apr-10 7:56
riced1-Apr-10 7:56 
GeneralRe: Find the best sort algorithm Pin
ndkit6-Apr-10 18:49
ndkit6-Apr-10 18:49 
Question(C#).Net Backup application for Sharepoint Pin
JurieBurie31-Mar-10 20:37
JurieBurie31-Mar-10 20:37 
QuestionHow to build C# program to solve 8-Puzzle with best first search algorithm ? Pin
nguyencuonginfo31-Mar-10 19:58
nguyencuonginfo31-Mar-10 19:58 
AnswerRe: How to build C# program to solve 8-Puzzle with best first search algorithm ? Pin
Khaniya31-Mar-10 20:20
professionalKhaniya31-Mar-10 20:20 
AnswerRe: How to build C# program to solve 8-Puzzle with best first search algorithm ? Pin
PIEBALDconsult31-Mar-10 20:26
mvePIEBALDconsult31-Mar-10 20:26 
GeneralRe: How to build C# program to solve 8-Puzzle with best first search algorithm ? Pin
J4amieC31-Mar-10 21:27
J4amieC31-Mar-10 21:27 
GeneralRe: How to build C# program to solve 8-Puzzle with best first search algorithm ? Pin
PIEBALDconsult1-Apr-10 3:32
mvePIEBALDconsult1-Apr-10 3:32 
AnswerRe: How to build C# program to solve 8-Puzzle with best first search algorithm ? Pin
nguyencuonginfo1-Apr-10 5:00
nguyencuonginfo1-Apr-10 5:00 
QuestionTimeout exception when reading from serial port Pin
mmdullah31-Mar-10 19:17
mmdullah31-Mar-10 19:17 
AnswerRe: Timeout exception when reading from serial port Pin
PIEBALDconsult31-Mar-10 19:24
mvePIEBALDconsult31-Mar-10 19:24 
GeneralRe: Timeout exception when reading from serial port Pin
mmdullah31-Mar-10 19:56
mmdullah31-Mar-10 19:56 
AnswerRe: Timeout exception when reading from serial port Pin
Alan N1-Apr-10 1:49
Alan N1-Apr-10 1:49 
QuestionRestrict User from changing time Pin
Aseem Sharma31-Mar-10 17:14
Aseem Sharma31-Mar-10 17:14 
AnswerRe: Restrict User from changing time Pin
Rod Kemp31-Mar-10 19:20
Rod Kemp31-Mar-10 19:20 
AnswerRe: Restrict User from changing time Pin
Luc Pattyn1-Apr-10 3:37
sitebuilderLuc Pattyn1-Apr-10 3:37 
QuestionGet Tittle Name for window form ? Pin
aa_zz31-Mar-10 15:38
aa_zz31-Mar-10 15:38 
AnswerRe: Get Tittle Name for window form ? [modified] Pin
Luc Pattyn31-Mar-10 16:28
sitebuilderLuc Pattyn31-Mar-10 16:28 
QuestionWhich is faster ? foreach OR for !! Pin
Nadia Monalisa31-Mar-10 14:47
Nadia Monalisa31-Mar-10 14:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.