Can anyone help me how to solve this. I couldn't solve anyone of these questions.


Primes In Subtree example : https://s3.amazonaws.com/istreet-assets/3zaD4PrI6vyJvkpPq8UN3g/subtrees.jpg
Test is done but i want to understand how to approach or solve these problems.
Thanks in advance