LeetCode
Convert Binary Search Tree to Sorted Doubly Linked List
Click
here
for an explanation.