Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Lowest Common Ancestor in a Binary Tree

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.72 sec, absolute running time: 0.13 sec, cpu time: 0 sec, memory peak: 3 Mb, absolute service time: 0,88 sec 
fork mode |  history  | discussion
"LCA(0,9)=not found"
"LCA(0,5)=not found"
"LCA(4,5)=2"
"LCA(4,6)=1"
"LCA(3,4)=1"
"LCA(2,4)=2"

    
                
λ
.NET NoSQL database for rapid development