Redirecting to
NADOS

Lca - Lowest Common Ancestor

.

https://www.spoj.com/problems/LCA/
Input Format
.
Output Format
.
Question Video
Constraints
.
Sample Input
1
7
3 2 3 4
0
3 5 6 7
0
0
0
0
2
5 7
2 7
Sample Output
Case 1:
3
1


  • Asked in Companies
  • Related Topics






Video Solution

Code Solution

Run
 
Run
Id Name