240 发简信
IP属地:伊利诺伊州
  • Graph 集合 I

    Disjoint-set and Connected components Number of Connected Components in an Undirected G...

  • 120
    BFS 和 DFS的各種討論(持續更新)

    https://leetcode.com/problems/minimum-knight-moves/ In an infinite chess board with coo...

  • [Leetcode] 2018-10-25 Median of two sorted arrays

    DAY4 Questions: are there duplications in two lists?Thoughts: if no dup, build a binary...

  • [Leetcode]longest-substring-without-repeating-characters

    DayThree Thoughts: window sliding, use two indexes(pointers) and slide over the string....

  • [Leetcode] Add Two Numbers

    DAY TWO Simple method is to covert linked list into digits and then do the calculation,...

  • [Leetcode] TwoSum

    Day One Naive way is to use two for loop and scan the list and its time complexity is O...