Closed 072arushi closed 2 years ago
Hello @072arushi, thanks for creating your first issue at LearnCPP, hope you followed the guidelines.
Example-
Input :
n = 4 m = 3
a[] = {10, 5, 6, 2},
b[] = {12, 7, 9}
Output :
{12, 10, 9, 2, 5, 7, 6}
/assign
This issue has been assigned to 072arushi! It will become unassigned if it is not closed within 12 days. A maintainer can also add the pinned label to prevent it from being unassigned.
Given two binary max heaps as arrays, merge the given heaps to form a new max heap.