title: Find next greater element in AVL tree
body: <p>Let's suppose I have following AVL tree and my task is to find next greater element of given element (i.e. it's 7 for 6). What algorithm can I use?</p>
  
  <p><img src="https://i.stack.imgur.com/b2fkP.png" alt="AVL tree"> </p>