Flipkart interview question

Was asked about trees and balancing binary trees