IncredibleThings

导航

2017年12月13日 #

LeetCode-Find the Difference

摘要: Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one more letter at 阅读全文

posted @ 2017-12-13 10:41 IncredibleThings 阅读(127) 评论(0) 推荐(0) 编辑

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. 阅读全文

posted @ 2017-12-13 10:10 IncredibleThings 阅读(126) 评论(0) 推荐(0) 编辑