![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Leetcode
GeniusIOTboy
因为相信 所以看见
展开
-
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.Example 1:Input: haystack = “hello”, needle = “ll”Output: 2Example 2:In...原创 2018-11-30 23:12:44 · 118 阅读 · 0 评论 -
Leetcode -- 67.add Binary
Add BinaryGiven two binary strings, return their sum (also a binary string).The input strings are both non-empty and contains only characters 1 or 0.Example 1:Input: a = “11”, b = “1”Output: “1...原创 2018-12-01 17:15:01 · 115 阅读 · 0 评论