String Java Interview Coding Questions