String and Graphs | CodeChef