Consider a rooted n node binary tree represented using pointers. The best upper bound on the time required to determine the number of subtrees having exactly 4 nodes is O(na logb n). Then the value of a + 10b is …
Topic-wise GATE CS PYQs with verified steps