newbie_in_world's blog

By newbie_in_world, history, 5 years ago, In English

Problem:-Minion Chef and Bananas

My Solution:-Ideone

My solution's time complexity is O(n*log(max element in arr))

Why is this solution Giving TLE in subtask2?

Full text and comments »

  • Vote: I like it
  • -1
  • Vote: I do not like it