摘要: 题目 Given two integers dividend and divisor, divide two integers without using multiplication, division and mod operator. Return the quotient after div 阅读全文
posted @ 2019-06-18 09:39 风雪初晴,宜下江南 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 题目 Implement strStr(). Return the index of the first occurrence of needle in haystack, or 1 if needle is not part of haystack. Example 1: & 8195; Inpu 阅读全文
posted @ 2019-06-18 09:35 风雪初晴,宜下江南 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 题目 Given an array nums and a value val, remove all instances of that value in place and return the new length. Do not allocate extra space for another 阅读全文
posted @ 2019-06-18 09:34 风雪初晴,宜下江南 阅读(347) 评论(0) 推荐(0) 编辑