摘要:
题目: You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quali 阅读全文
摘要:
题目: Count the number of prime numbers less than a non-negative number, n. 计算小于非负数n的素数的数量。 Example: 解答: 方法一:超时 方法二: 详解: 判断素数:埃拉托斯特尼筛法 遍历2到根号n,将质数2的全部倍数 阅读全文
摘要:
题目: Given a positive integer, return its corresponding column title as appear in an Excel sheet. 给定正整数,返回Excel工作表中显示的相应列标题。 For example: Example 1: Ex 阅读全文
摘要:
题目: Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The time comp 阅读全文
摘要:
题目: A robot on an infinite grid starts at point (0, 0) and faces north. The robot can receive one of three possible types of commands: 无限网格上的机器人从点(0,0 阅读全文
摘要:
题目: Given an array of integers and an integer k, you need to find the number of unique k-diff pairs in the array. Here a k-diff pair is defined as an 阅读全文