- 博客(10)
- 收藏
- 关注
原创 182. Duplicate Emails (E)
182. Duplicate EmailsAdd to ListDescription Submission SolutionsTotal Accepted: 32668Total Submissions: 88770Difficulty: EasyContributors: AdminWrite a SQL query to
2017-02-27 21:56:17 368
原创 65. Valid Number (H)
Validate if a given string is numeric.Some examples:"0" => true" 0.1 " => true"abc" => false"1 a" => false"2e10" => trueNote: It is intended for the problem statement to be ambiguous.
2017-02-23 17:51:48 213
原创 468. Validate IP Address (M)
Write a function to check whether an input string is a valid IPv4 address or IPv6 address or neither.IPv4 addresses are canonically represented in dot-decimal notation, which consists of four decima
2017-02-22 20:55:25 339
原创 500. Keyboard Row (E)
Given a List of words, return the words that can be typed using letters of alphabet on only one row's of American keyboard like the image below.Example 1:Input: ["Hello", "Alaska", "Da
2017-02-21 16:59:18 294
原创 459. Repeated Substring Pattern
Given a non-empty string check if it can be constructed by taking a substring of it and appending multiple copies of the substring together. You may assume the given string consists of lowercase Engli
2017-02-21 14:55:55 300
原创 520. Detect Capital (E)
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 of the following cases holds:All letters in t
2017-02-21 11:44:39 709
原创 506. Relative Ranks (E)
Given scores of N athletes, find their relative ranks and the people with the top three highest scores, who will be awarded medals: "Gold Medal", "Silver Medal" and "Bronze Medal".Example 1:In
2017-02-20 22:26:50 330
原创 495. Teemo Attacking
In LLP world, there is a hero called Teemo and his attacking can make his enemy Ashe be in poisoned condition. Now, given the Teemo's attacking ascending time series towards Ashe and the poisoning tim
2017-02-20 19:34:12 193
原创 496. Next Greater Element I (E)
You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next greater numbers for nums1's elements in the corresponding places of nums
2017-02-20 14:53:53 189
原创 476. Number Complement (E)
Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation.Note:The given integer is guaranteed to fit within the range
2017-02-19 22:45:54 239
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人