Deskfactors Interview Question

Coding on string and arrays