ProgrammingTopics

  • 103.binary-tree-zigzag-level-order-traversal

     Given a binary tree, return the zigzag level order traversal of its nodes\' values. (ie, from left to right, then right to left for the next level and alternate between)....

    2022-05-10 08:36 264
  • 104.maximum-depth-of-binary-tree

     Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node....

    2022-05-10 08:36 335