lowest-common-ancestor-in-binary-tree

Table of Contents

Common Ancestor in a Binary Tree"

Lowest Common Ancestor in a Binary Tree

Prompt:

Given two people, how can we find out if they are blood related?

Questions:

Modeling:

class Node:
  def __init__(self, name, parents = []):
    self.name = name
    self.uuid = UUID.new()
    self.parents = parents

We need to check the