Hexaware Technologies interview question

Binary Trees Time Complexity Space Complexity swap two strings