LeetCode 1335. Minimum Difficulty of a Job Schedule

Sdílet
Vložit

Komentáře • 3

  • @rohangaur524
    @rohangaur524 Před 2 lety

    work fine with python. But shows TLE if run in C++

    • @SaifulIslam-fk7tp
      @SaifulIslam-fk7tp Před rokem

      You should add memoization to stop repeating for the similar scenario those have already checked.