Hey, can anyone please tell as to where I am going wrong ? Here's the problem link : http://www.spoj.com/problems/PHONELST/
I am getting Runtime Error.. Am I doing anything wrong in the deletion part ? I am even getting Runtime Error for the 2nd sample input..
My solution link : http://ideone.com/4hSjtb