Suggest an editImprove this articleRefine the answer for “What is an edge (edge) in a tree?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)**An edge** is a connection between two nodes in a tree: between a parent and its child. **Key point:** if a tree has `n` nodes, it always has exactly `n - 1` edges.Shown above the full answer for quick recall.Answer (EN)Image**An edge** is a **connection between two nodes** in a tree: between a **parent** and its **child**. **Formally:** An edge is a directed connection of the form ```javascript parent → child ``` It shows how nodes are connected to each other and defines the structure of the tree. **Example:** ```javascript A / \ B C ``` Here there are two edges: - `A → B` - `A → C` **Properties:** - If a tree has `n` nodes, it always has **exactly** `n - 1` **edges**. - Edges can be used to describe **paths** - sequences of moves from one node to another. **Summary:** An edge is the "connection" or "branch" that links nodes together and makes a tree a hierarchical structure rather than just a set of data.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.