phimuemue

A seemingly simple problem proven hard

Consider the following problem: You are celebrating a festival and want to invite guests. The only problem is the following: You want to distribute all guests in a single row, but you can only place to guests next to each other if they get along with each other. The question is if there’s an efficient [...]

Height of an AVL-tree

I came across the following question lately: Show that the height of an AVL-tree is .