Cognizant interview question

Internal implementation of String