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?
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?