TongTong Shi's Blog
A Playground to Share My Knowledge
Guess Number Higher or Lower Guess Number Higher or Lower
LeetCode Q 374 - Guess Number Higher or LowerWe are playing the Guess Game. The game is as follows:I pick a number from
2019-04-16 Tong Shi
Maximum Length of Repeated Subarray Maximum Length of Repeated Subarray
LeetCode Q 718 - Maximum Length of Repeated SubarrayGiven two integer arrays A and B, return the maximum length of an su
2019-04-15 Tong Shi
Linked List Cycle II Linked List Cycle II
LeetCode Q 142 - Linked List Cycle IIGiven a linked list, return the node where the cycle begins. If there is no cycle,
2019-04-15 Tong Shi
Find the Duplicate Number Find the Duplicate Number
LeetCode Q 287 - Find the Duplicate NumberGiven an array nums containing n + 1 integers where each integer is between 1
2019-04-15 Tong Shi
First Bad Version First Bad Version
LeetCode Q 278 - First Bad VersionYou are a product manager and currently leading a team to develop a new product. Unfor
2019-04-15 Tong Shi
H-Index II H-Index II
LeetCode Q 275 - H-Index IIGiven an array of citations sorted in ascending order (each citation is a non-negative intege
2019-04-15 Tong Shi
69 / 79