上一页 1 ··· 12 13 14 15 16
摘要: You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 ston 阅读全文
posted @ 2016-04-12 13:59 Miller1991 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 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 cl 阅读全文
posted @ 2016-04-12 12:03 Miller1991 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. For example, giv 阅读全文
posted @ 2016-04-11 20:43 Miller1991 阅读(92) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16