- 博客(6)
- 收藏
- 关注
转载 LeetCode 217. Contains Duplicate C++
Given an array of integers, find if the array contains any duplicates.Your function should return true if any value appears at least twice in the array, and it should return false if every elem...
2019-09-23 14:58:00 111
转载 LeetCode 205. Isomorphic Strings C++
Given two stringssandt, determine if they are isomorphic.Two strings are isomorphic if the characters inscan be replaced to gett.All occurrences of a character must be replaced with ano...
2019-09-23 11:46:00 90
转载 LeetCode 136. Single Number C++
Given anon-emptyarray of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity. Could you implement it witho...
2019-09-23 11:17:00 119
转载 LeetCode 49. Group Anagrams HashTable
Given an array of strings, group anagrams together.Example:Input: ["eat", "tea", "tan", "ate", "nat", "bat"],Output:[ ["ate","eat","tea"], ["nat","tan"], ["bat"]]Note:All...
2019-09-23 11:14:00 78
转载 LeetCode 1. Two Sum -- HashTable
LeetCode 1.Two SumGiven an array of integers, returnindicesof the two numbers such that they add up to a specific target.You may assume that each input would haveexactlyone solution, and...
2019-09-23 10:53:00 115
转载 LeetCode第一周总结
LeetCode 383.Ransom Notehttps://leetcode.com/problems/ransom-note/原题地址题目描述Given an arbitrary ransom note string and another string containing letters from all the magazines, write a funct...
2019-09-15 17:26:00 93
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人