- 博客(10)
- 收藏
- 关注
原创 【LeetCode】136.Single Number_EASY(十)
136.Single Number Description: Given an array of integers, every element appears twice except for one. Find that single one.
2017-04-08 06:26:42 350
原创 【LeetCode】485.Max Consecutive Ones_EASY(九)
485.Max Consecutive Ones Description: Given a binary array, find the maximum number of consecutive 1s in this array.
2017-04-08 05:47:37 355
原创 【LeetCode】292.Nim Game_EASY(八)
292.Nim Game Descripiton: You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 stones.
2017-04-08 05:19:15 279
原创 【LeetCode】463.Island Perimeter_EASY(七)
463.Island Perimeter Description: You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizontally/vertically
2017-04-08 05:06:53 336
原创 【LeetCode】496.Next Greater Element I _EASY(六)
496.Next Greater Element I Description: 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
2017-04-08 04:55:03 398
原创 【LeetCode】344.Reverse String_EASY(五)
344.Reverse String Description: Write a function that takes a string as input and returns the string reversed.
2017-04-06 22:54:19 346
原创 【LeetCode】412.Fizz Buzz_EASY(四)
412.Fizz Buzz Description: Write a program that outputs the string representation of numbers from 1 to n. But for multiples of three it should output “Fizz” instead of the number and for the
2017-04-06 22:07:14 270
原创 【LeetCode】500.Keyboard Row_EASY(三)
500.Keyboard Row Description: 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.
2017-04-06 17:22:09 326
原创 【LeetCode】476.Number Complement_EASY(二)
476.Number Complement Description: Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation.
2017-04-06 16:12:50 480
原创 【LeetCode】461.Hamming Distance_EASY(一)
461.Hamming Distance Description: The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y,calculate the Hamming distance
2017-04-06 00:20:48 322
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人