摘要: Substring with Concatenation of All Words (H) 题目 You are given a string, s, and a list of words, words, that are all of the same length. Find all star 阅读全文
posted @ 2020-06-24 11:18 墨云黑 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Divide Two Integers (M) 题目 Given two integers dividend and divisor, divide two integers without using multiplication, division and mod operator. Retur 阅读全文
posted @ 2020-06-24 04:27 墨云黑 阅读(99) 评论(0) 推荐(0) 编辑
摘要: Implement strStr() (E) 题目 Implement strStr(). Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. 阅读全文
posted @ 2020-06-24 02:43 墨云黑 阅读(90) 评论(0) 推荐(0) 编辑
摘要: Remove Element (E) 题目 Given an array nums and a value val, remove all instances of that value in-place and return the new length. Do not allocate extr 阅读全文
posted @ 2020-06-24 02:00 墨云黑 阅读(108) 评论(0) 推荐(0) 编辑
摘要: Remove Duplicates from Sorted Array (E) 题目 Given a sorted array nums, remove the duplicates in-place such that each element appear only once and retur 阅读全文
posted @ 2020-06-24 01:38 墨云黑 阅读(90) 评论(0) 推荐(0) 编辑