Domanda di colloquio di Pegasystems

How to maintain a binary search tree while inserting elements?