上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页
摘要: Description: At a lemonade stand, each lemonade costs $5. Customers are standing in a queue to buy from you, and order one at a time (in the order spe 阅读全文
posted @ 2019-08-07 17:38 CodingYM 阅读(101) 评论(0) 推荐(0) 编辑
摘要: Description: We distribute some number of candies, to a row of n = num_people people in the following way: We then give 1 candy to the first person, 2 阅读全文
posted @ 2019-08-07 15:24 CodingYM 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Description: You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next greater numbe 阅读全文
posted @ 2019-08-07 11:01 CodingYM 阅读(97) 评论(0) 推荐(0) 编辑
摘要: Description: Given a list of daily temperatures T, return a list such that, for each day in the input, tells you how many days you would have to wait 阅读全文
posted @ 2019-08-06 16:49 CodingYM 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2019-08-06 16:09 CodingYM 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Description: he Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x a 阅读全文
posted @ 2019-08-06 15:00 CodingYM 阅读(103) 评论(0) 推荐(0) 编辑
摘要: Description: In a 2 dimensional array grid, each value grid[i][j] represents the height of a building located there. We are allowed to increase the he 阅读全文
posted @ 2019-08-06 12:07 CodingYM 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Description: In a array A of size 2N, there are N+1 unique elements, and exactly one of these elements is repeated N times. Return the element repeate 阅读全文
posted @ 2019-08-06 11:12 CodingYM 阅读(101) 评论(0) 推荐(0) 编辑
摘要: Description: International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashes, as follows: "a" maps to 阅读全文
posted @ 2019-08-06 10:14 CodingYM 阅读(108) 评论(0) 推荐(0) 编辑
摘要: Description X is a good number if after rotating each digit individually by 180 degrees, we get a valid number that is different from X. Each digit mu 阅读全文
posted @ 2019-08-06 00:13 CodingYM 阅读(175) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页