Ex1.3

Design an algorithm and write code to remove the duplicate characters
in a string without using any additional buffer. NOTE: One or two
additional variables are fine. An extra copy of the array is not.
FOLLOW UP
Write the test cases for this method.