摘要:
Problem:Given an array of numbersnums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two el... 阅读全文
posted @ 2015-08-27 23:47
airforce
阅读(283)
评论(0)
推荐(0)
摘要:
Problem:Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have... 阅读全文
posted @ 2015-08-27 12:43
airforce
阅读(193)
评论(0)
推荐(0)
摘要:
Problem:A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded messa... 阅读全文
posted @ 2015-08-27 09:56
airforce
阅读(453)
评论(0)
推荐(0)
摘要:
Problem: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 surrounde... 阅读全文
posted @ 2015-08-27 06:03
airforce
阅读(151)
评论(0)
推荐(0)
摘要:
Problem:Givennnon-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in th... 阅读全文
posted @ 2015-08-27 03:42
airforce
阅读(159)
评论(0)
推荐(0)

浙公网安备 33010602011771号