Ad
  • Custom User Avatar

    I am hitting timeout exception with n=661915703. I have tried solving the problem using DP + memoization and BFS. Both the solution are encountering same timeout issue. I am unable to identify whats wrong. Any pointers will be great.

    Thanks.

  • Custom User Avatar

    I am using C++ to attempt this problem.

  • Custom User Avatar

    For SumsOfPerfectSquares problem, all my test-cases are passing expect "maximally_hard_test_case1". This test-case is failing with time-out error. Is there a way to find which test in this test-set is failing?