![3. [12] The function num.trees takes the total number of nodes and the number of leaves, and returns the number of AVI-balanc](https://media.cheggcdn.com/media%2Fae8%2Fae85605e-b70a-4f71-af86-2354741f2950%2FphpHebGcU.png)
3. [12] The function num.trees takes the total number of nodes and the number of leaves, and returns the number of AVI-balanced tree shapes with that many nodes and leaves Here is a sample call of num_trees: >>>num_trees (5, 3) 2 This means that there are exactly two AVL-balanced trees that have five nodes where three of those nodes are leaves. Here are those two trees: Implement num_trees. Note: we’re not asking you to implement
PayPal Gateway not configured
PayPal Gateway not configured