detect duplicate characters in a string

In addition to Programming Interviews Exposed I'm also working through examples in Cracking the Coding Interview. The first one: detect if a string has duplicates. Do it without extra data structures. My initial solution is below. I did a little better with this one than the last one - finished…

Read full post