You are viewing a single comment's thread. Return to all comments →
Test cases are very weak. A proper test case will bear TLE to almost all submissions due to their big Time complexity. I used Hashing to prevent TLE.
The Grid Search
You are viewing a single comment's thread. Return to all comments →
Test cases are very weak. A proper test case will bear TLE to almost all submissions due to their big Time complexity. I used Hashing to prevent TLE.