摘要: [题目] You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can y 阅读全文
posted @ 2016-09-03 22:01 三刀 阅读(192) 评论(0) 推荐(0) 编辑
摘要: [题目] Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one more lette 阅读全文
posted @ 2016-09-03 15:40 三刀 阅读(412) 评论(0) 推荐(0) 编辑