摘要: Implement pow(x,n).Subscribeto see which companies asked this question解法1:最简单的即是n个x直接相乘,毫无疑问会超时Time Limit Exceededclass Solution {public: double my... 阅读全文
posted @ 2015-11-12 18:56 AprilCheny 阅读(351) 评论(0) 推荐(0) 编辑
摘要: Divide two integers without using multiplication, division and mod operator.If it is overflow, return MAX_INT.Subscribeto see which companies asked th... 阅读全文
posted @ 2015-11-12 17:47 AprilCheny 阅读(449) 评论(0) 推荐(0) 编辑