Sherlock and Queries

  • + 0 comments

    I am getting timeout in four testcases, 9, 10, 12, 13...any suggestions. My code https://www.hackerrank.com/challenges/sherlock-and-queries/submissions/code/33184473