Longest Univalue Path
Problem overview from a real Snowflake interview:
Given the root of a binary tree, return the length of the longest path where each node in the path has the same value.
Check more interview questions and experiences about Snowflake
