240 发简信
IP属地:北京
  • 208 Implement Trie (Prefix Tree)

    Implement a trie with insert, search, and startsWith methods. Example: T...

  • 538 Convert BST to Greater Tree

    Given a Binary Search Tree (BST), convert it to a Greater Tree such that...

  • 543 Diameter of Binary Tree

    Given a binary tree, you need to compute the length of the diameter of t...

  • 581 Shortest Unsorted Continuous Subarray

    Given an integer array, you need to find one continuous subarray that if...

  • 338 Counting Bits

    Given a non negative integer number num. For every numbers i in the rang...

  • 236 Lowest Common Ancestor of a Binary Tree

    Given a binary tree, find the lowest common ancestor (LCA) of two given ...

  • 128 Longest Consecutive Sequence

    Given an unsorted array of integers, find the length of the longest cons...

  • 438 Find All Anagrams in a String

    Given a string s and a non-empty string p, find all the start indices of...

  • 406 Queue Reconstruction by Height

    Suppose you have a random list of people standing in a queue. Each perso...