Girikon interview question

substring program . reverse a array, abstraction, collections