摘要: 题目: Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to the target, ... 阅读全文
posted @ 2014-04-28 10:53 mickole 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 题目: Given two words (start and end), and a dictionary, find all shortest transformation sequence(s) from start to end, such that: Only one letter can be changed at a time Each intermediate word m... 阅读全文
posted @ 2014-04-28 09:41 mickole 阅读(413) 评论(0) 推荐(0) 编辑