title: How to print Binary Search Tree in a specific way
body: <p>First of all I'd like to apologize but I could not come up with a better title.</p>
  <p>I have implemented a BST in C++ with 3 properties: left, right and data.</p>
  <p>Suppose after some insertions it look like
  <img src="https://i.stack.imgur.com/SX1jj.png" alt="this" />.</p>
  <p>How could I print the BST in the console like <img src="https://i.stack.imgur.com/qhM2X.png" alt="this" />?</p>
  <p>The number of X's used should be the minimum possible. I've been looking at this question for quite some time and I'm not able to come up with anything. Any help is appreciated.</p>