Sponsored
Use these hints if you're stuck. Try solving on your own first.
Can you record the size of each subtree?
If n people meet on the same node, what is the minimum number of cars needed?
Solve with full IDE support and test cases