35. Search Insert Position
摘要:description: 给一个有序数列给一个target,找出在list中target对应的坐标,如果不在里边给出它应该在哪 Given a sorted array and a target value, return the index if the target is found. If n
阅读全文
34. Find First and Last Position of Element in Sorted Array
摘要:description: Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. Your algorithm'
阅读全文
33. Search in Rotated Sorted Array
摘要:description: 一个数列,不知道在哪翻转了一下,现在给定一个值,如果他在这个翻转后的数列里, return 它对应的 index Suppose an array sorted in ascending order is rotated at some pivot unknown to y
阅读全文
Neural Approaches to Conversational AI
摘要:Neural Approaches to Conversational AI 学姐介绍的一篇综述阅读笔记 SIGIR 2018 主要贡献: 提出一个综合的调查关于最近几年的应用在QA,任务导向和闲聊对话机器人的神经网络方法 描述了现在和传统方法之间的联系,允许我们更好的理解研究为什么并且如何进化并且
阅读全文
32. Longest Valid Parentheses **堆栈
摘要:description: Given a string containing just the characters '(' and ')', find the length of the longest valid (well formed) parentheses substring. 找符合规
阅读全文
31. Next Permutation
摘要:description: Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement
阅读全文
30. Substring with Concatenation of All Words
摘要:description: You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s th
阅读全文
养兔子的人不见了
摘要:刚刚看小姨发了朋友圈,才知道舅姥爷癌症去世了。妈妈说今早她们给送去了火葬场。 舅姥爷爱养兔子,一个个兔子,毛茸茸的窝在笼子里。 舅姥爷爱养花,一盆盆花无论品种,无论春夏秋冬,都枝繁叶茂,花团锦簇。 舅姥爷爱笑,什么时候去他家都会笑眯眯叫我,给我拿吃的,让我多吃点,逗我几句。 舅姥爷还爱打麻将,每年过
阅读全文
29. Divide Two Integers
摘要:description: Given two integers dividend and divisor, divide two integers without using multiplication, division and mod operator. Return the quotient
阅读全文
28. Implement strStr()
摘要:description: mplement strStr(). Return the index of the first occurrence of needle in haystack, or 1 if needle is not part of haystack. Note: Example:
阅读全文
27. Remove Element
摘要:description: 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 f
阅读全文