newbie_in_world's blog

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

Read more »

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