上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 49 下一页
摘要: For a web developer, it is very important to know how to design a web page’s size. So, given a specific rectangular web page’s area, your job by now i 阅读全文
posted @ 2018-12-04 22:04 A-Little-Nut 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Given an array of scores that are non negative integers. Player 1 picks one of the numbers from either end of the array followed by the player 2 and t 阅读全文
posted @ 2018-12-04 22:02 A-Little-Nut 阅读(98) 评论(0) 推荐(0) 编辑
摘要: Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Note: + The input array will only contain 0 and 1. + The len 阅读全文
posted @ 2018-12-04 22:01 A-Little-Nut 阅读(108) 评论(0) 推荐(0) 编辑
摘要: Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation. Note: + The given in 阅读全文
posted @ 2018-12-04 21:45 A-Little-Nut 阅读(140) 评论(0) 推荐(0) 编辑
摘要: In the computer world, use restricted resource you have to generate maximum benefit is what we always want to pursue. For now, suppose you are a domin 阅读全文
posted @ 2018-12-04 21:44 A-Little-Nut 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Consider the string s to be the infinite wraparound string of “abcdefghijklmnopqrstuvwxyz”, so s will look like this: “…zabcdefghijklmnopqrstuvwxyzabc 阅读全文
posted @ 2018-12-04 21:42 A-Little-Nut 阅读(109) 评论(0) 推荐(0) 编辑
摘要: In the “100 game,” two players take turns adding, to a running total, any integer from 1..10. The player who first causes the running total to reach o 阅读全文
posted @ 2018-12-04 21:39 A-Little-Nut 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 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/ve 阅读全文
posted @ 2018-12-04 21:33 A-Little-Nut 阅读(135) 评论(0) 推荐(0) 编辑
摘要: The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, calcul 阅读全文
posted @ 2018-12-04 21:30 A-Little-Nut 阅读(84) 评论(0) 推荐(0) 编辑
摘要: There are 1000 buckets, one and only one of them contains poison, the rest are filled with water. They all look the same. If a pig drinks that poison 阅读全文
posted @ 2018-12-04 21:24 A-Little-Nut 阅读(75) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 49 下一页