240 发简信
IP属地:北京
  • 301 remove invalid parenthesis

    **BFS: ** remove i parenthesis and add to queue, when one is valid then...

  • 298 longest consecutive Sequence in binary tree

    Math.max(current count, Math.max(leftSubtree, rightSubtree))current coun...

  • 153 find minimum in rotated array

    key: this is asking the first element smaller than target = nums[last]