Блог пользователя miniluigi

Автор miniluigi, история, 8 лет назад, По-английски

Hello, I recently solved Snail Trails (problem statement here, and I have no idea why my code did not TLE. In fact, it finished in 0.011 seconds on all test cases. To summarize my approach, it's a brute-force DFS on every possible option. Can anyone help me analyze the time complexity of my code? Any help and insight would be appreciated. Thanks!

  • Проголосовать: нравится
  • -5
  • Проголосовать: не нравится