240 发简信
IP属地:加州
  • Binary Search Tree Iterator

    Design an iterator over a binary search tree with the following rules:El...

  • Binary Tree Paths

    Given a binary tree, return all root-to-leaf paths.ExampleGiven the foll...

  • Add binary

    Given two binary strings, return their sum (also a binary string).Exampl...

  • Best Time to Buy and Sell Stock II

    Say you have an array for which the ith element is the price of a given ...

  • Best Time to Buy and Sell Stock

    Say you have an array for which the ith element is the price of a given ...

  • Sort in Rotated Sorted Array

    Suppose a sorted array is rotated at some pivot unknown to you beforehan...

  • Plus one

    Given a non-negative number represented as an array of digits, plus one ...

  • Merge Sorted Array

    Given two sorted integer arrays A and B, merge B into A as one sorted ar...

  • Maximum Subarray

    Given an array of integers, find a contiguous subarray which has the lar...