摘要: 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) 编辑