- 博客(5)
- 资源 (19)
- 收藏
- 关注
原创 LeetCode 91 Decode Ways(编码方式)(*)
原文A message containing letters from A-Z is being encoded to numbers the following mapping:'A' -> 1 'B' -> 2 ... 'Z' -> 26Given an encoded message containing digits, determine the total number of ways t
2016-05-07 21:36:03 4195
原创 LeetCode 92 Decode Ways
原文A message containing letters from A-Z is being encoded to numbers the following mapping:'A' -> 1 'B' -> 2 ... 'Z' -> 26Given an encoded message containing digits, determine the total number of ways t
2016-05-07 17:47:39 3527
原创 LeetCode 227 Basic Calculator II
原文Implement a basic calculator to evaluate a simple expression string.The expression string contains only non-negative integers, +, -, *, / operators and empty spaces .The integer division should trunc
2016-05-07 14:47:07 4840
原创 LeetCode 345 Reverse Vowels of a String
原文Write a function that takes a string as input and reverse only the vowels of a string.Example 1:Given s = “hello”, return “hello”.Example 2:Given s = “leetcode”, return “leotcede”.翻译写一个函数,用一个字符串作为参数,
2016-05-04 15:57:52 2596
原创 LeetCode 344 Reverse String
原文Write a function that takes a string as input and returns the string reversed.Example:Given s = “hello”, return “olleh”.翻译写一个函数,以一个字符串作为输入,并逆序返回。例如:给定s = “hello”,返回”olleh”。代码直接逆序遍历string reverseStrin
2016-05-04 15:19:39 1690
flux小工具
2015-05-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人