2016年8月24日

383. Ransom Note

摘要: 1. 问题描述 Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if 阅读全文

posted @ 2016-08-24 23:28 whl-hl 阅读(204) 评论(0) 推荐(0) 编辑

387. First Unique Character in a String

摘要: 1. 问题描述 Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Note: You may assume the s 阅读全文

posted @ 2016-08-24 23:26 whl-hl 阅读(113) 评论(0) 推荐(0) 编辑

83. Remove Duplicates from Sorted List

摘要: 1. 问题描述 Given a sorted linked list, delete all duplicates such that each element appear only once.For example,Given 1->1->2, return 1->2.Given 1->1->2 阅读全文

posted @ 2016-08-24 23:24 whl-hl 阅读(123) 评论(0) 推荐(0) 编辑

导航