posted 12 years ago
Dear Experts,
I am new to the LinkedList concept and trying out coding a LinkedList problem which require me to do Insert newInteger based on the Index, Remove Index and Change oldInteger to newInteger based on Index.
Please kindly advice what i should code in my
------------------------------------------------------------------------------------
Sample input
4 8
1 5 2 3
4
I 1 2
R 2
C 1 10
I 4 2
Sample output
YES
NO
NO
NO
------------------------------------------------------------------------------------
Here is my full code: