Count of all prime weight nodes between given nodes in the given Tree
Given a weighted tree containing N nodes, and two nodes u and v, the task is to find the count of nodes having prime weight on the simple path between u and v (both inclusive). Examples: Input: u = 3, v = 5 Output: 2 Explanation: Prime weight on path 3 to 5 is [11, 5]. Hence, the answer is 2. Approa