I was solving problem ‘H1’ but got TLE for several times, after a while I just used someone elses solution in Java, and I got TLE again. How could that be?. Then I copied my init function which uses HashMap to other much more recent problem and got TLE again.
@admin, can you take a look?
Here you can find the other guy solution I tried: other guy accepted solution
1 Like