Frequency Queries

  • + 1 comment

    Thank you so much for your helpful comment, which really saved me!

    My code in C++ getting timeout for test cases 9 and 10 was accepted in C++14 without any modifications. Even if a set of operations runs in constant time for each query, the code received timeout with C++.