Every node of a tree has a letter. Find the longest path on which no two adjacent nodes carry the same letter.
Every node of a tree has a letter. Find the longest path on which no two adjacent nodes carry the same letter.
Opens with the full question.