上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 26 下一页
摘要: King Robert has 7 kingdoms under his rule. He gets to know from a raven that the Dothraki are going to wage a war against him soon. But, he knows the ... 阅读全文
posted @ 2014-07-29 15:56 SunshineAtNoon 阅读(361) 评论(0) 推荐(0) 编辑
摘要: Change language :Alex is attending a Halloween party with his girlfriend Silvia. At the party, Silvia spots a giant chocolate bar. If the chocolate ca... 阅读全文
posted @ 2014-07-29 15:39 SunshineAtNoon 阅读(471) 评论(0) 推荐(0) 编辑
摘要: James找到了他的朋友Harry要给女朋友的情书。James很爱恶作剧,所以他决定要胡搞一下。他把信中的每个单字都变成了回文。对任何给定的字符串,他可以减少其中任何一个字符的值,例如'd'可以变成'c',这算是一次操作。(另外,他最多只能将字符的值减少至'a','a'不能再被减少成'z')。找出将... 阅读全文
posted @ 2014-07-29 15:19 SunshineAtNoon 阅读(421) 评论(0) 推荐(0) 编辑
摘要: Gem StonesJohn has discovered various rocks. Each rock is composed of various elements, and each element is represented by a lowercase latin letter fr... 阅读全文
posted @ 2014-07-29 10:33 SunshineAtNoon 阅读(577) 评论(0) 推荐(0) 编辑
摘要: Calvin is driving his favorite vehicle on the 101 freeway. He notices that the check engine light of his vehicle is on, and he wants to service it imm... 阅读全文
posted @ 2014-07-29 10:13 SunshineAtNoon 阅读(323) 评论(0) 推荐(0) 编辑
摘要: The Utopian tree goes through 2 cycles of growth every year. The first growth cycle of the tree occurs during the monsoon, when it doubles in height. ... 阅读全文
posted @ 2014-07-28 23:03 SunshineAtNoon 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Given two words (startandend), and a dictionary, find all shortest transformation sequence(s) fromstarttoend, such that:Only one letter can be changed... 阅读全文
posted @ 2014-07-27 11:44 SunshineAtNoon 阅读(275) 评论(0) 推荐(0) 编辑
摘要: Given a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in that surrounded region... 阅读全文
posted @ 2014-07-26 23:28 SunshineAtNoon 阅读(184) 评论(0) 推荐(0) 编辑
摘要: Given an array of words and a lengthL, format the text such that each line has exactlyLcharacters and is fully (left and right) justified.You should p... 阅读全文
posted @ 2014-07-26 19:39 SunshineAtNoon 阅读(197) 评论(0) 推荐(0) 编辑
摘要: There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be ... 阅读全文
posted @ 2014-07-26 17:12 SunshineAtNoon 阅读(388) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 26 下一页