My LeetCode grinding. Trying to do a problem a day.
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123
  1. Given two binary trees, write a function to check if they are the same or not.
  2. Two binary trees are considered the same if they are structurally identical and the nodes have the same value.