If in this ques a is dependent on b, ie a would come if b will come, do we need to count both a & b for the party of just b?
Please explain the question!
Didn’t get your point.
A and b will come together. Either none or both.
Why none when b has a dependency?
A is dependent. B is free
Can you please explain with the help of a test case other than the one in the question??
Question says that…call minimum friends.
Make a graph of dependency.
There will be multiple comonents in your graph.
Select the graph with minimum component.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.