Convert Binary Search Tree to Doubly Linked List(LintCode 378):

Problem