摘要: Divide two integers without using multiplication, division and mod operator.If it is overflow, return MAX_INT.这个题分了两种解法,本质都是一样的:方法一:都是每次减去divisor的2^i ... 阅读全文
posted @ 2015-12-21 19:38 zhanghill 阅读(161) 评论(0) 推荐(0)
摘要: Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthen left-o... 阅读全文
posted @ 2015-12-21 16:52 zhanghill 阅读(154) 评论(0) 推荐(0)