小小程序媛  
得之坦然,失之淡然,顺其自然,争其必然

2015年11月2日

摘要: 题目Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as 000000101001010000011110100111... 阅读全文
posted @ 2015-11-02 20:54 Coding菌 阅读(486) 评论(0) 推荐(0) 编辑
 
摘要: 题目Rotate an array of n elements to the right by k steps.For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2... 阅读全文
posted @ 2015-11-02 20:17 Coding菌 阅读(109) 评论(0) 推荐(0) 编辑