Contest Big O issue
Anonymous User
59

This is my second time doing a contest, and both times there has been a question that is rated medium but allows brute force solution for example:
https://leetcode.com/problems/range-sum-of-sorted-subarray-sums/ i thought they want a solution better than brute force so i kept on trying for 45 mins and was wondering how 3000 people have already done it - turned out that it was just brute force.

same thing with this question here in my previous contest: https://leetcode.com/contest/biweekly-contest-28/problems/subrectangle-queries/

either make the test cases fail brute force or let us know that a better option isnt available...

Comments (1)