💥 Proposal
Two sorted arrays would be given and those arrays should be merged without using extra space. For example:
Array - 1 = [0 , 2 , 4 , 6]
Array - 2 = [1 , 3 , 5 , 7 , 9]
Since, extra space should not be used, the result should be store in input array itself like,
Array - 1 = [0 , 1 , 2 , 3]
Array - 2 = [4 , 5 , 6 , 7 , 9]
Have you read the Contributing Guidelines on Pull Requests ?
Yes
💥 Proposal
Two sorted arrays would be given and those arrays should be merged without using extra space. For example:
Array - 1 = [0 , 2 , 4 , 6]
Array - 2 = [1 , 3 , 5 , 7 , 9]
Since, extra space should not be used, the result should be store in input array itself like,
Array - 1 = [0 , 1 , 2 , 3]
Array - 2 = [4 , 5 , 6 , 7 , 9]
Have you read the Contributing Guidelines on Pull Requests ?
Yes