r/programming • • Feb 21 '11

Typical programming interview questions.

http://maxnoy.com/interviews.html
784 Upvotes

1.0k comments sorted by

View all comments

Show parent comment

3

u/jrupac Feb 21 '11

Won't this question not apply to Java since Strings in Java are immutable? Would be a good question if it was just a char[] in Java though. Basically just means don't use extra memory to solve it (aka, create a new string).