![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode
KKKAAA22
这个作者很懒,什么都没留下…
展开
-
leetcode-28-Implement strStr()
题目描述:Implement strStr().Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.int strStr(string haystack, string needle) Example 1:Input: haystack = "...原创 2018-04-02 12:12:06 · 6785 阅读 · 3 评论 -
leetcode-35- Search Insert Position
题目描述:Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.You may assume no duplicates in the array...原创 2018-04-02 21:15:00 · 4410 阅读 · 0 评论 -
leetcode-38-Count and Say
题目描述:The count-and-say sequence is the sequence of integers with the first five terms as following:1. 12. 113. 214. 12115. 1112211 is read off as "one 1" or 11.11 is read off ...原创 2018-04-02 23:42:19 · 2002 阅读 · 0 评论