prob: https://hack.codingblocks.com/app/contests/2022/416/problem
sol: https://ide.codingblocks.com/s/418360
approach: approach: store 2 paths from the root to the given nodes in 2 vectors traverse it and find the lowest common one
please tell the mistakes in my implementation