[Bug Report (Resolved)] 1218. Longest Arithmetic Subsequence of Given Difference

Follow up:
I tried a difference solution with better runtime and got accepted. I guess the root cause here is no actual test case would run unless my solution passes the performance testing (regardless of the correctness).

Original message:
LC Team,

My submission for Q1218 got TLE with 0/38 test cases passed:
image

When I ran local test all given examples passed without delay:
image

Can some please take a look?

Thanks,

Shi

Comments (1)