摘要: 描述 Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right when one 阅读全文
posted @ 2017-06-05 22:24 larryking 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 描述 You are given a string representing an attendance record for a student. The record only contains the following three characters: 'A' : Absent. 'L' 阅读全文
posted @ 2017-06-05 22:13 larryking 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 描述 Remove all elements from a linked list of integers that have value val. Example Given: 1 2 6 3 4 5 6, val = 6 Return: 1 2 3 4 5 分析 先构造一个链表结点 dummyH 阅读全文
posted @ 2017-06-05 21:58 larryking 阅读(134) 评论(0) 推荐(0) 编辑