Friday, February 24, 2012

Function to remove duplicate from a String.

Code a function  that removes duplicate characters from a string.


Code input/output:

String: sstuuddents
After removing Duplicate chars: studen
String: mississippi
After removing Duplicate chars: misp

No comments:

Post a Comment