上一页 1 ··· 62 63 64 65 66 67 68 69 70 ··· 76 下一页
摘要: Given a non-empty array of digits representing a non-negative integer, plus one to the integer. The digits are stored such that the most significant d 阅读全文
posted @ 2019-08-07 03:57 Schwifty 阅读(151) 评论(0) 推荐(0)
摘要: 283. Move Zeroes Easy 220879FavoriteShare 283. Move Zeroes Easy 220879FavoriteShare Easy Given an array nums, write a function to move all 0's to the 阅读全文
posted @ 2019-08-06 02:25 Schwifty 阅读(124) 评论(0) 推荐(0)
摘要: Given a sorted array nums, remove the duplicates in-place such that duplicates appeared at most twice and return the new length. Do not allocate extra 阅读全文
posted @ 2019-08-06 00:31 Schwifty 阅读(151) 评论(0) 推荐(0)
摘要: Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length. Do not allocate extra spa 阅读全文
posted @ 2019-08-05 22:57 Schwifty 阅读(139) 评论(0) 推荐(0)
摘要: 08/04/2019 Category: Array Problem #: 1. Two Sum: HashMap 15. 3Sum : Set one target and flow from left to right 16. 3Sum Closest : Pretty same as 3Sum 阅读全文
posted @ 2019-08-05 12:56 Schwifty 阅读(315) 评论(0) 推荐(0)
摘要: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex 阅读全文
posted @ 2019-08-05 05:21 Schwifty 阅读(134) 评论(0) 推荐(0)
摘要: Others: 不换行打印: 阅读全文
posted @ 2019-07-05 05:20 Schwifty 阅读(345) 评论(0) 推荐(0)
摘要: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai 阅读全文
posted @ 2019-07-05 04:03 Schwifty 阅读(162) 评论(0) 推荐(0)
摘要: Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string. Example 1: Ex 阅读全文
posted @ 2019-04-18 11:51 Schwifty 阅读(108) 评论(0) 推荐(0)
摘要: Count the number of prime numbers less than a non-negative number, n. Example: "这道题给定一个非负数n,让我们求小于n的质数的个数,题目中给了充足的提示,解题方法就在第二个提示埃拉托斯特尼筛法Sieve of Erato 阅读全文
posted @ 2019-04-16 06:29 Schwifty 阅读(124) 评论(0) 推荐(0)
上一页 1 ··· 62 63 64 65 66 67 68 69 70 ··· 76 下一页