newbie_in_world's blog

By newbie_in_world, history, 6 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?

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

| Write comment?