When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

pushkar31's blog

By pushkar31, history, 3 years ago, In English

Can anyone plz tell me why my code gives tle.On google search most of them have solved it using bottom top dp. Here's the lonk for problem.Is there any bug in my code or top bottom is slow due to function calls? I have added code in comments thank u.

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?