Hash Table
Queen、
这个作者很懒,什么都没留下…
展开
-
LeetCode 136. Single Number
Given an array of integers, every element appears twice except for one. Find that single one.Note:Your algorithm should have a linear runtime complexity. Could you implement it without using extra原创 2017-09-23 19:12:49 · 292 阅读 · 0 评论 -
LeetCode 242. Valid Anagram
Given two strings s and t, write a function to determine if t is an anagram of s.For example,s = "anagram", t = "nagaram", return true.s = "rat", t = "car", return false.Note:You may ass原创 2017-09-23 21:37:10 · 232 阅读 · 0 评论 -
LeetCode 290. Word Pattern
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 letter in pattern and a non-empty word in str.原创 2017-09-23 22:15:19 · 295 阅读 · 0 评论