Divide a sorted array into two parts whose sum is approximately equal
MARIAANNAALWIN:
ya sure
Answers
Answered by
2
Answer:
Input : Arr[] = { 1 , 2 , 3 , 4 , 5 , 5 }
Output : { 1 2 3 4 }
{ 5 , 5 }
Input : Arr[] = { 4, 1, 2, 3 }
Output : {4 1}
{2 3}
Similar questions