---
title: "Discussion on \"What is LCA(Lowest Common Ancestor)\" | Hashnode"
description: "Discussion on \"What is LCA(Lowest Common Ancestor)\". Definition\nLowest Common Ancestor, LCA.\nLCA is an algorithm or concept used in tree structures to find the closest common ancestor of two nodes.\nExample\n\nIn the above binary tree, the LCA of 4 and 6 is 1.\nLCA(4, 6) = 1\n\nPurpose\nThe purpose of the LCA..."
url: "https://hashnode.com/posts/what-is-lcalowest-common-ancestor/64cc6d9695ea3e076ea85959"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What is LCA(Lowest Common Ancestor)](https://eunhanlee.hashnode.dev/what-is-lcalowest-common-ancestor?utm_source=hashnode&utm_medium=feed)

Definition Lowest Common Ancestor, LCA. LCA is an algorithm or concept used in tree structures to find the closest common ancestor of two nodes. Example In the above binary tree, the LCA of 4 and 6 is 1. LCA(4, 6) = 1 Purpose The purpose of the LCA...

Aug 4, 2023 · 3 min read · eunhanlee.hashnode.dev  
Read the article

-   [#lowest-common-ancestor](https://hashnode.com/tag/lowest-common-ancestor)
-   [#binary-tree](https://hashnode.com/tag/binary-tree)
-   [#treetraversals](https://hashnode.com/tag/treetraversals)
-   [#lca-algorithm](https://hashnode.com/tag/lca-algorithm)

## Written by

[Han](https://hashnode.com/@EunHaSu)

@EunHaSu · VA, US

  
[View profile](https://hashnode.com/@EunHaSu)

Java, Android, Algorithm

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
