in Algorithms edited by
1,388 views
0 votes
0 votes
What mean by First Pass of algorithm and Second Pass of algorithm in a 2-way Merge Sort Algorithm ?
in Algorithms edited by
1.4k views

1 Answer

1 vote
1 vote

This might help

4 Comments

@Spidey_guy but shouldn't we use top down approach ? and what is shorted element ?

0
0

@Spidey_guy check this question also https://gateoverflow.in/1467/gate1999-1-14-isro2015-42
here also they have mentioned to use 2-way merge sort so shouldn't we follow this method https://www.geeksforgeeks.org/merge-sort/ (first dividing and then merging!)

0
0

@Spidey_guy https://stackoverflow.com/questions/56696667/2-way-merge-sort-and-merge-sort

Another name for an iterative 2-way merge sort is bottom up merge sort, while another name for recursive merge sort is top down merge sort.
 

0
0

Related questions

0 votes
0 votes
0 answers
4