We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I have one doubt.
If chars at i and i-1 position are equal, then they both have to be deleted. But according to your program, chars at i-1 and i+1 position will gets eliminated.
Please dont mind and give me clarification on this.
Super Reduced String
You are viewing a single comment's thread. Return to all comments →
I have one doubt. If chars at i and i-1 position are equal, then they both have to be deleted. But according to your program, chars at i-1 and i+1 position will gets eliminated. Please dont mind and give me clarification on this.