Longest Univalue Path
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
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
Please log in to view interview question details