- 博客(4)
- 资源 (4)
- 收藏
- 关注
LeetCode228.Summary Ranges 解题
228.Summary RangesDifficulty: MediumGiven a sorted integer array without duplicates, return the summary of its ranges.For example, given [0,1,2,4,5,7], return ["0->2","4->5","7"]. 1. 解法,最简单,...
2016-06-05 22:00:24 222
LeetCode:217. Contains Duplicate 解题
217. Contains Duplicate Difficulty: EasyGiven 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 ...
2016-06-03 23:55:02 124
LeetCode:345. Reverse Vowels of a String 解题
345. Reverse Vowels of a String Difficulty: Easy Write a function that takes a string as input and reverse only the vowels of a string. Example 1:Given s = "hello", return "holle". Example 2:Give...
2016-06-03 00:31:15 154
344. Reverse String LeetCode 解题
344. Reverse String Difficulty: Easy Write a function that takes a string as input and returns the string reversed. Example: Given s = "hello", return "olleh". 代码: public class S...
2016-06-02 15:18:44 121
Coursera 斯坦福机器学习程序代码(Octave)
2015-03-02
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人