This is one of the interview questions at Stripe, and I agree that it was the most "fun" part of the interview
(It is still pretty stressful giving an interview, but magnitude times much less so than converting a BST to doubly linked list, and converting it back )