06 2019 档案

摘要:Given a linked list, determine if it has a cycle in it. To represent a cycle in the given linked list, we use an integer pos which represents the posi 阅读全文
posted @ 2019-06-29 14:19 fatttcat
摘要:Given an array of integers nums, sort the array in ascending order. Example 1: Example 2: Note: 参考 https://www.cnblogs.com/fatttcat/p/10058544.html M1 阅读全文
posted @ 2019-06-28 16:04 fatttcat
摘要:The Fibonacci numbers, commonly denoted F(n) form a sequence, called the Fibonacci sequence, such that each number is the sum of the two preceding one 阅读全文
posted @ 2019-06-28 15:47 fatttcat
摘要:We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Every time you guess wron 阅读全文
posted @ 2019-06-27 12:11 fatttcat
摘要:2. Add Two Numbers - Medium topics: linked list, math solution 3. Longest Substring Without Repeating Characters - Medium topics: hash table, two poin 阅读全文
posted @ 2019-06-26 09:10 fatttcat