Binary Tree Traversal - Depth First Search DFS

Problem

Given a Binary Search Tree, Do the Depth First Search/Traversal .

Solution

In a Binary Tree, we can do 3 kinds of DFS: