Apple Phone Screen
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-10-21Added By Anonymous
Source: Link
Company: Apple
Role: unknown
Interview Stage: Phone Screen
Location: unknown
Year: unknown
Original Post Content:
Given a sorted linked list of integers, write a method(s) to create a balanced binary search tree from the list.
1 -> 2 -> 5 -> 6 -> 8 -> 10 -> 19
6
/ \
2 10
/ \ / \
1 5 8 19
Input : LinkedList head
Output : TreeNode root