StackOverflow Questions for Tag: least-common-ancestor

Molten
Molten

Reputation: 27

Find least common ancestor of two nodes in java

Score: 1

Views: 2259

Answers: 1

Read More
Sakthi K
Sakthi K

Reputation: 169

what is wrong in my C++ code? Least Common ancestor

Score: -3

Views: 114

Answers: 3

Read More
bigpotato
bigpotato

Reputation: 219

How to compute a least common ancestor algorithm's time complexity?

Score: 4

Views: 1518

Answers: 2

Read More
slimbo
slimbo

Reputation: 2759

Lowest Common Ancestor Algorithm

Score: 12

Views: 8156

Answers: 6

Read More
brain storm
brain storm

Reputation: 31252

modification to LCA code for binary tree to check if node is present in Java

Score: 3

Views: 716

Answers: 1

Read More
brain storm
brain storm

Reputation: 31252

what is the time complexity for the LCA in binary tree implemented in Java here

Score: 1

Views: 3310

Answers: 2

Read More
theninjagreg
theninjagreg

Reputation: 1756

Is there a better way to find lowest common ancestor?

Score: 3

Views: 1199

Answers: 3

Read More
johnykov
johnykov

Reputation: 182

lowest common ancestor with scala fold?

Score: 1

Views: 448

Answers: 0

Read More
JavaDeveloper
JavaDeveloper

Reputation: 5660

Find distance between two nodes in binary tree

Score: 0

Views: 3575

Answers: 1

Read More
user2416871
user2416871

Reputation: 543

lca of binary tree of two nodes if those two nodes occur many times

Score: 0

Views: 192

Answers: 0

Read More
user322
user322

Reputation: 103

LCA descendant nodes

Score: 0

Views: 516

Answers: 2

Read More
m4n1c
m4n1c

Reputation: 127

Find the least common parent in a binary tree?

Score: 0

Views: 805

Answers: 2

Read More
Faron
Faron

Reputation: 1393

Finding Least Common Ancestor from a Transitive Closure Table

Score: 3

Views: 1223

Answers: 2

Read More
Lazer
Lazer

Reputation: 94810

What are the practical applications of the lowest common ancestor algorithms?

Score: 6

Views: 3155

Answers: 3

Read More
bgoodr
bgoodr

Reputation: 2930

Finding best common ancestor of two leaf nodes where nodes have zero, one, or two parents

Score: 3

Views: 1953

Answers: 1

Read More
dojoBeginner
dojoBeginner

Reputation: 449

How to finding first common ancestor of a node in a binary tree?

Score: 8

Views: 2783

Answers: 2

Read More
Michael
Michael

Reputation: 42050

LCA problem at interview

Score: 3

Views: 3506

Answers: 2

Read More
PreviousPage 2Next