Input N number of arrays and print the merged array in ascending order containing only unique elements.
The first line consists of T test cases and then next line consists of number of arrays denoted by N and then next of each N lines contain a number n denoting the number of elements in an array.
Output in one line the merged array sorted in ascending order.
1 2 8
1 2 8
1 2 4 8 9
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.