Krawler interview question

program on string, array and data structure algorithms