摘要: 题目描述: Implement pow(x, n). Example 1: Example 2: 解题思路: pow(x,n)=pow(x,n/2)*pow(x,n/2) 代码: 阅读全文
posted @ 2018-03-02 16:21 宵夜在哪 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 题目描述: You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Note: You have to rotate the image in-place, 阅读全文
posted @ 2018-03-02 15:12 宵夜在哪 阅读(90) 评论(0) 推荐(0) 编辑