Блог пользователя Bobek

Автор Bobek, история, 7 лет назад, По-английски

I know that a number of valid parantheses is nth catalan number. The same is for number of binary search trees. Is there any way to convert valid parantheses sequence to binary search tree with keys 1-n?

  • Проголосовать: нравится
  • -9
  • Проголосовать: не нравится