|
Not exactly. See the way the code has been implemented.
The elements have only been added and deleted in the first array. I was not sure what was the reason to use the second arraylist for the above implementation.
That is why I asked him to provide the exact testcase that he needs so that we can help him out
|