Cognizant Interview Question

Internal implementation of String