摘要:
P1 1.1 interview 1.2 invoker show 1.3 Wtf? P2 for example this is a story int main() { printf("Hello World\n"); } 我喜欢你 I LOVE U Test End P1 1.1 interv 阅读全文
摘要:
Jump Game Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents 阅读全文
摘要:
House Robber III The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Besides t 阅读全文
摘要:
Find the Duplicate Number Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), prove that at least one dup 阅读全文
摘要:
H-Index Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher's h-index. A 阅读全文
摘要:
First Bad Version You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product f 阅读全文
摘要:
Ugly Number II Write a program to find the n-th ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 阅读全文
摘要:
Rotate Array Rotate an array of n elements to the right by k steps. For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7, 阅读全文
摘要:
Reverse Linked List Reverse a singly linked list. Hint: A linked list can be reversed either iteratively or recursively. Could you implement both? 阅读全文
摘要:
Linked List Cycle II Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Note: Do not modify the linked li 阅读全文