摘要: 题目 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 you 阅读全文
posted @ 2018-09-30 11:38 shinjia 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 题目 Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in 阅读全文
posted @ 2018-09-30 09:06 shinjia 阅读(100) 评论(0) 推荐(0) 编辑