Google Phone Interview
Anonymous User
4482

Position: L3
Location: United States

Given two questions for the phone interview:

  1. Given a binary tree, return true if nodes in the tree all contains the same value otherwise return false.
    https://leetcode.com/problems/univalued-binary-tree/
  2. Given a binary tree, return the count of the number of subtrees that have nodes of the same value
    https://leetcode.com/problems/count-univalue-subtrees/

image

Comments (10)