
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: 2 Example 2: In...原创 2018-11-30 23:12:44 · 153 阅读 · 0 评论 -
Leetcode -- 67.add Binary
Add Binary Given 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 · 153 阅读 · 0 评论