Https://ide.codingblocks.com/s/122723

2 test cases are failing

the size of the resultant array could be greater than max of sizes of array1 and array2 if there is a carryover in the end. So, consider using an arraylist for that.