GoTo Interview Question

Simple programming on String Manipulation & Array