abc_begin

导航

2017年9月23日 #

551. Student Attendance Record I【easy】

摘要: 551. Student Attendance Record I【easy】 You are given a string representing an attendance record for a student. The record only contains the following 阅读全文

posted @ 2017-09-23 22:59 LastBattle 阅读(156) 评论(0) 推荐(0)

383. Ransom Note【easy】

摘要: 383. Ransom Note【easy】 Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will 阅读全文

posted @ 2017-09-23 19:08 LastBattle 阅读(170) 评论(0) 推荐(0)

657. Judge Route Circle【easy】

摘要: 657. Judge Route Circle【easy】 Initially, there is a Robot at position (0, 0). Given a sequence of its moves, judge if this robot makes a circle, which 阅读全文

posted @ 2017-09-23 18:51 LastBattle 阅读(179) 评论(0) 推荐(0)

606. Construct String from Binary Tree 【easy】

摘要: 606. Construct String from Binary Tree 【easy】 You need to construct a string consists of parenthesis and integers from a binary tree with the preorder 阅读全文

posted @ 2017-09-23 18:44 LastBattle 阅读(174) 评论(0) 推荐(0)

520. Detect Capital【easy】

摘要: 520. Detect Capital【easy】 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 wo 阅读全文

posted @ 2017-09-23 18:23 LastBattle 阅读(294) 评论(0) 推荐(0)

28. Implement strStr()【easy】

摘要: 28. Implement strStr()【easy】 Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of hayst 阅读全文

posted @ 2017-09-23 17:43 LastBattle 阅读(140) 评论(0) 推荐(0)

521. Longest Uncommon Subsequence I【easy】

摘要: 521. Longest Uncommon Subsequence I【easy】 Given a group of two strings, you need to find the longest uncommon subsequence of this group of two strings 阅读全文

posted @ 2017-09-23 17:36 LastBattle 阅读(103) 评论(0) 推荐(0)

344. Reverse String【easy】

摘要: 344. Reverse String【easy】 Write a function that takes a string as input and returns the string reversed. Example:Given s = "hello", return "olleh". 解法 阅读全文

posted @ 2017-09-23 17:21 LastBattle 阅读(205) 评论(0) 推荐(0)

557. Reverse Words in a String III【easy】

摘要: 557. Reverse Words in a String III【easy】 Given a string, you need to reverse the order of characters in each word within a sentence while still preser 阅读全文

posted @ 2017-09-23 17:10 LastBattle 阅读(209) 评论(0) 推荐(0)

680. Valid Palindrome II【easy】

摘要: 680. Valid Palindrome II【easy】 Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome. Example 1 阅读全文

posted @ 2017-09-23 16:56 LastBattle 阅读(664) 评论(0) 推荐(0)