LeetCode Question · Dec 2022 · Los Angeles

Tiktok OA 12-16 Dec

1 upvote 583 views 8 replies

Question Details

Binary Search Tree Complexity Given a binary search tree with n nodes. What\'s the time and space complexity of finding the maximum element in that tree? -> time complexity = O(n),...

Full Details

🔒

Unlock all ByteDance questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a bytedance interview for a swe role during the oa round reported in 2022.

It covers the following topics: Arrays, Binary Search, Binary Tree, Linked List, Matrix, Os, Sql, Strings .

Difficulty rating: Easy