云中的Jason
LeetCode刷题:771.Jewels and Stones LeetCode刷题:771.Jewels and Stones
771. Jewels and StonesYou’re given strings Jrepresenting the types of stones that are jewels, and S representing the sto
2019-02-24
LeetCode刷题:709.To Lower Case LeetCode刷题:709.To Lower Case
709. To Lower CaseImplement function ToLowerCase() that has a string parameter str, and returns the same string in lower
2019-02-24
LeetCode刷题:657.Robot Return to Origin LeetCode刷题:657.Robot Return to Origin
657. Robot Return to OriginThere is a robot starting at position (0, 0), the origin, on a 2D plane. Given a sequence of
2019-02-24
LeetCode刷题:627.Swap Salary LeetCode刷题:627.Swap Salary
627. Swap SalarySQL架构 create table if not exists salary(id int, name varchar(100), sex char(1), salary int) Truncate tab
2019-02-24
LeetCode刷题:620.Not Boring Movies LeetCode刷题:620.Not Boring Movies
620. Not Boring MoviesSQL架构 Create table If Not Exists cinema (id int, movie varchar(255), description varchar(255), rat
2019-02-24
LeetCode刷题:595.Big Countries LeetCode刷题:595.Big Countries
595. Big CountriesSQL架构 Create table If Not Exists World (name varchar(255), continent varchar(255), area int, populatio
2019-02-24
LeetCode刷题:561.Array Partition I LeetCode刷题:561.Array Partition I
561. Array Partition IGiven an array of 2n integers, your task is to group these integers into n pairs of integer, say (
2019-02-24
LeetCode刷题:509.Fibonacci Number LeetCode刷题:509.Fibonacci Number
509. Fibonacci NumberThe Fibonacci numbers, commonly denoted F(n) form a sequence, called the Fibonacci sequence, such t
2019-02-24
LeetCode刷题:476.Number Complement LeetCode刷题:476.Number Complement
476. Number ComplementGiven a positive integer, output its complement number. The complement strategy is to flip the bit
2019-02-24
LeetCode刷题:461.Hamming Distance LeetCode刷题:461.Hamming Distance
461. Hamming DistanceThe Hamming distance between two integers is the number of positions at which the corresponding bit
2019-02-24
LeetCode刷题:344.Reverse String LeetCode刷题:344.Reverse String
344. Reverse StringWrite a function that takes a string as input and returns the string reversed. Example 1: Input: “he
2019-02-24
LeetCode刷题:268.Missing Number LeetCode刷题:268.Missing Number
268. Missing NumberGiven an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing
2019-02-24
2 / 3