240 发简信
IP属地:佛罗里达州
  • 173. Binary Search Tree Iterator

    题目 Implement an iterator over a binary search tree (BST). Your iterator ...

  • 172. Factorial Trailing Zeroes

    题目 Given an integer n, return the number of trailing zeroes in n!. Note:...

  • 143. Reorder List

    题目 Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1...

  • 148. Sort List

    题目 Sort a linked list in O(n log n) time using constant space complexity...

  • 147. Insertion Sort List

    题目 Sort a linked list using insertion sort. 思路 这道题花费了最多的时间。 复习了array的插入排...

  • 155. Min Stack

    题目 Design a stack that supports push, pop, top, and retrieving the minim...

  • 547. Friend Circles

    题目: There are N students in a class. Some of them are friends, while som...

  • 139. Word Break

    题目 Given a non-empty string s and a dictionary wordDict containing a lis...

  • 138. Copy List with Random Pointer

    题目: A linked list is given such that each node contains an additional ra...