本博客rss订阅地址: http://feed.cnblogs.com/blog/u/147990/rss
摘要: 题目链接 Divide two integers without using multiplication, division and mod operator. 最直观的方法是,用被除数逐个的减去除数,直到被除数小于0。这样做会超时。 本文地址 那么如果每次不仅仅减去1个除数,计算速度就会增加,但是题目不能使用乘法,因此不能减去k*除数,我们可以对除数进行... 阅读全文
posted @ 2014-06-18 20:58 tenos 阅读(5278) 评论(1) 推荐(0) 编辑
摘要: 题目链接 Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k then left-out nodes in the end should remain as i... 阅读全文
posted @ 2014-06-18 14:04 tenos 阅读(992) 评论(0) 推荐(0) 编辑

本博客rss订阅地址: http://feed.cnblogs.com/blog/u/147990/rss

公益页面-寻找遗失儿童