We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I was experiencing the same issue. It turns out that the boilerplate code is the problem, because if you set freqQuery(queries: [[Int]])->[Int] to simply return [], it still fails some of the tests with timeout.
Frequency Queries
You are viewing a single comment's thread. Return to all comments →
I was experiencing the same issue. It turns out that the boilerplate code is the problem, because if you set
freqQuery(queries: [[Int]])->[Int]
to simply return[]
, it still fails some of the tests with timeout.So, in the boilerplate, I replaced:
with:
And then all my tests passed. I'll submit this as a suggestion for them to fix as well. Cheers!