Round 1: Recruiter Screening
Questions: Specific question not provided.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 2: Tech Phone Screen
Questions:
- Tell me about yourself.
- A few questions about my background.
- Given a binary tree which is balanced, unbalance it, and move all items to right. Basically, return a right-skewed binary tree.
Test Case:
- Input: Balanced binary tree
- Output: Right-skewed binary tree
Candidate's Approach
- The first solution was a brute force approach: traverse in order, store elements in a list, and re-construct a binary tree.
- The interviewer suggested making in-place changes instead of reconstructing the tree.
- The candidate was able to write the correct code for the in-place changes but felt that communication issues and needing hints may have affected their performance.
Interviewer's Feedback
No feedback provided.