- 博客(2)
- 收藏
- 关注
原创 [Leetcode]First Unique Character in a String
Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Examples: s = "leetcode" return 0. s = "loveleetcode", return 2. Note: You may
2016-08-22 15:25:56 474
原创 [Leetcode]Ransom Note
Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if the ransom note can be construc
2016-08-22 15:17:32 447
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人