- 博客(2)
- 收藏
- 关注
原创 Leet Code OJ 91. Decode Ways [Difficulty: Medium]
题目: A message containing letters from A-Z is being encoded to numbers using the following mapping:'A' -> 1 'B' -> 2 ... 'Z' -> 26Given an encoded message containing digits, determine the total number
2016-06-24 13:57:28 5319
原创 Leet Code OJ 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”.翻译: 写一个函数,使用字符串作为输入,返回它反转后的结果。 例如,输入”hello”,返回”olleh”。分析: 转为字符数组后,将第一
2016-06-23 13:50:55 3694
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人