title: How to fill a binary tree from a string, java
body: <p>I'm suppose to fill a binary tree with integers based upon a string like this. </p>
  
  <pre><code> [int](LT)(RT)
  </code></pre>
  
  <p>LT is an expression of the same form for the left part of the tree. Same with RT. A valid string would be something like this: <code>4(2(1)(3))(6(5)(7)</code>. How can I fill this tree? This is not a sorted tree of any kind. So it can just fill every "level" with nodes. Thank you for help. </p>