Cognizant Interview Question

selection sort , patterns ,array ,strings