随笔分类 - leetcode
摘要:Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex
阅读全文
摘要:题目: Given an input string, reverse the string word by word. For example,Given s = "the sky is blue",return "blue is sky the". Given an input string, r
阅读全文
摘要:题目描述: Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection between a
阅读全文