Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged merging
0
0 votes
1
answers
1 answer
359
359 views
All India Mock Test - 4 | Question 20 | Unacademy
Consider six files F1, F2, F3, F4, F5, and F6 with 90, 15, 25, 12, 70 and 110 records respectively.What is the minimum number of record movements required to merge these ...
BhavdeepSinghNijhawa
359
views
asked
Dec 30, 2024
Algorithms
merging
+
–
0
0 votes
1
1 answer
2.2k
2.2k views
DSA
Given two max heap, one of size n and other m. Calculate the time complexity of merging them to get a max heap.
shub2204
2.2k
views
asked
Dec 5, 2022
Data Structures
binary-heap
time-complexity
merging
+
–
5
5 votes
1
1 answer
854
854 views
GO Classes Test Series 2023 | Algorithms | Test 1 | Question: 17
Consider the following pseudo-code of function fun(). fun() takes k arrays as input and return merged array of all. Assume that merge function takes $O(p+q)$ where $p$ is...
GO Classes
854
views
asked
Jun 13, 2022
Algorithms
goclasses2024-algo-1-weekly-quiz
goclasses
algorithms
merging
time-complexity
two-marks
+
–
0
0 votes
0
0 answers
1.9k
1.9k views
Merge Sort
Can anyone help me to understand this problem….??
Vikas123
1.9k
views
asked
Jan 8, 2019
Algorithms
merge-sort
algorithms
sorting
merging
+
–
0
0 votes
1
1 answer
1.1k
1.1k views
Self Doubt
What is the minimum and maximum number of comparisons required to merge two lists of size m and n ?
Vipin Rai
1.1k
views
asked
Nov 11, 2018
Algorithms
merging
+
–
3
3 votes
1
1 answer
2.2k
2.2k views
Merge sort
How many swaps are performed in Merge sort algorithm in worst case?
Kaushal Sanadhya
2.2k
views
asked
Oct 9, 2018
Algorithms
merge-sort
algorithms
sorting
merging
+
–
0
0 votes
2
2 answers
2.4k
2.4k views
Self doubt
The total number of comparions required to merge 4 sorted files containing 15, 3, 9 and 8 records into a single sorted file is A.66 B.39 C.15 D.33
Raj Kumar 7
2.4k
views
asked
Jul 17, 2018
Algorithms
algorithms
merging
sorting
+
–
0
0 votes
3
3 answers
2.3k
2.3k views
Merge Sort
A list of n string, each of length n, is sorted into lexicographic order using the merge-sort algorithm. The worst case running time of this computation is(A) (B) (C) (D)
pradeepchaudhary
2.3k
views
asked
Jul 8, 2018
Algorithms
merge-sort
algorithms
sorting
merging
+
–
3
3 votes
2
answers
2 answers
20.1k
20.1k views
Merge Sort
The average no. of comparisons performed by the merge sort algorithm, in merging two sorted lists of length 2 is -a) 8/3b) 8/5c) 11/7d) 11/6
garvit_vijai
20.1k
views
asked
Jul 1, 2018
Algorithms
merge-sort
merging
time-complexity
+
–
0
0 votes
2
2 answers
1.2k
1.2k views
Why we take min heap in optimal merge pattern
Ajeet Singh
1.2k
views
asked
Apr 20, 2018
Algorithms
binary-heap
merging
+
–
1
1 vote
0
0 answers
1.8k
1.8k views
Ace Test Series: Algorithms - Dynamic Programming Optimal Merging Of Files
I got 206???
rasto mapp
1.8k
views
asked
Jan 21, 2018
Algorithms
ace-test-series
algorithms
dynamic-programming
merging
graph-theory
optimal-merge-pattern
+
–
2
2 votes
1
answers
1 answer
4.6k
4.6k views
Optimal Merge Pattern
Given a set of sorted files f1,f2,f3,f4,f5 of lengths 99,27,71,199,259 we need to merge these files into a single sorted file Using Optimal Merge Pattern.
VIKAS TIWARI
4.6k
views
asked
Dec 13, 2017
Algorithms
merging
algorithms
+
–
2
2 votes
2
answers
2 answers
2.3k
2.3k views
Optimal Merge Pattern,similar to http://gateoverflow.in/1997/gate2014-2-38
To merge 2 files of size m and n it takes m + n time What will be the optimal time Complexity to merge the files of size 10, 15, 40, 70, 75 and 80?
Ali Jazib Mahmood
2.3k
views
asked
Aug 18, 2017
Algorithms
algorithms
merging
numerical-answers
+
–
2
2 votes
4
4 answers
5.2k
5.2k views
Comparisons for merging four arrays
Suppose there are 4 sorted lists of 8 elements each. If we merge these lists into a single sorted list of 32 elements. The key comparisons that are needed in the worst ca...
GateAspirant999
5.2k
views
asked
Feb 2, 2017
Algorithms
algorithms
merging
array
+
–
0
0 votes
0
0 answers
470
470 views
testbook Algorithm
How?
Jason_Roy
470
views
asked
Jan 23, 2017
Algorithms
testbook-test-series
algorithms
merging
+
–
0
0 votes
0
0 answers
1.4k
1.4k views
Testbook
Can anyone clarify hy they are getting 269 and and I am getting 258?
Sushant Gokhale
1.4k
views
asked
Jan 23, 2017
Data Structures
merging
+
–
2
2 votes
4
4 answers
6.0k
6.0k views
Testbook Test Series: Algorithms - Greedy Algorithm
The optimal time required in merging the list of size 11, 21, 33, 34,45,54,60 ismy answer (11+21)*4+ 33*3 +(34+45)*3 + (54+60)*2but the provided answer is 269 to 282I don...
Pankaj Joshi
6.0k
views
asked
Jan 22, 2017
Algorithms
testbook-test-series
test-series
merging
algorithms
greedy-algorithms
+
–
0
0 votes
1
1 answer
523
523 views
Ace Test Series
Vignesh Kamath
523
views
asked
Jan 14, 2017
Algorithms
algorithms
ace-test-series
merging
+
–
0
0 votes
1
answers
1 answer
757
757 views
file size
Let $F_1,F_2,..............F_n$ be files with length $L_1,L_2........L_n$ we would like to merge all of the files together to make a single file .The cost of merging file...
shivanisrivarshini
757
views
asked
Feb 2, 2016
Algorithms
merging
greedy-algorithms
+
–
0
0 votes
1
answers
1 answer
517
517 views
merge algo
Number of comparisions in worst case required to merge two sorted arrays of size 40 and 60 are -
Kamalkant Patel
517
views
asked
Jan 30, 2016
Algorithms
algorithms
merging
array
+
–
0
0 votes
2
answers
2 answers
13.4k
13.4k views
A average number of comparison performed by the merge sort algorithm ,In Merging two sorted lists of length 2 is
If I have two lists of length 2 then no of comparisons in the worst case would be 2 only , since If I have say 10,20 in list A and 5,7 in list B so then on merging 10 is ...
radha gogia
13.4k
views
asked
Jul 31, 2015
Algorithms
algorithms
merging
time-complexity
+
–
44
44 votes
6
answers
6 answers
56.9k
56.9k views
GATE CSE 1995 | Question: 1.16
For merging two sorted lists of sizes $m$ and $n$ into a sorted list of size $m+n$, we require comparisons of$O(m)$$O(n)$$O(m+n)$$O(\log m + \log n)$
Kathleen
56.9k
views
asked
Oct 8, 2014
Algorithms
gate1995
algorithms
sorting
normal
merging
+
–
137
137 votes
10
answers
10 answers
42.8k
42.8k views
GATE CSE 2014 | Set 2 | Question: 38
Suppose $P, Q, R, S, T$ are sorted sequences having lengths $20, 24, 30, 35, 50$ respectively. They are to be merged into a single sequence by merging together two sequen...
go_editor
42.8k
views
asked
Sep 28, 2014
Algorithms
gatecse-2014-set2
algorithms
sorting
normal
numerical-answers
merging
+
–
To see more, click for the
full list of questions
or
popular tags
.