Maximum Binary Tree - LeetCode Problem #654

preview_player
Показать описание
Video Number: 7
LeetCode Number: 654
Acceptance Rate: 70.9%
Difficulty Rating: Medium
Рекомендации по теме
Комментарии
Автор

Can you please try to solve the question in O(n), or maybe in O(nlogn) in worst cases?

dontony
Автор

its not a good solution beacuse of o(n2) time complexity

ROUNAKSHARMAgsme
welcome to shbcf.ru