首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
首页
>
试题广场
>
旋转图像
[编程题]旋转图像
热度指数:12020
时间限制:C/C++ 1秒,其他语言2秒
空间限制:C/C++ 32M,其他语言64M
算法知识视频讲解
给出一个用二维矩阵表示的图像
返回该图像顺时针旋转90度的结果
扩展:
你能使用原地算法解决这个问题么?
马上挑战
算法知识视频讲解
提交运行
算法知识视频讲解
添加笔记
求解答(0)
邀请回答
收藏(71)
分享
提交结果有问题?
0个回答
1篇题解
添加回答
这道题你会答吗?花几分钟告诉大家答案吧!
提交观点
问题信息
数组
难度:
0条回答
71收藏
16682浏览
热门推荐
通过挑战的用户
查看代码
牛客77022...
2022-11-10 10:27:03
我在人间混日子
2022-08-27 18:39:18
Varus20...
2022-08-20 16:31:58
牛客92292...
2022-06-27 10:37:51
牛客40159...
2022-06-27 10:16:51
相关试题
属于组合逻辑电路是()。
数字电路
评论
(1)
有同事不完成任务,影响力进度,你怎...
业务综合
评论
(1)
如果通过这次面试我们单位录用了你,...
岗位认知
自我认知
评论
(1)
请你说说Java的特点和优点,为什...
Java
评论
(267)
你身边有哪些人还没有使用滴滴,你认...
用户研究
评论
(1)
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题
import java.util.*; public class Solution { public void rotate(int[][] matrix) { } }
class Solution { public: void rotate(vector
> &matrix) { } };
# # # @param matrix int整型二维数组 # @return void # class Solution: def rotate(self , matrix ): # write code here
/** * * @param matrix int整型二维数组 * @return void */ function rotate( matrix ) { // write code here } module.exports = { rotate : rotate };
# # # @param matrix int整型二维数组 # @return void # class Solution: def rotate(self , matrix ): # write code here
package main /** * * @param matrix int整型二维数组 * @return void */ func rotate( matrix [][]int ) { // write code here }
/** * * @param matrix int整型二维数组 * @param matrixRowLen int matrix数组行数 * @param matrixColLen int* matrix数组列数 * @return void */ void rotate(int** matrix, int matrixRowLen, int* matrixColLen ) { // write code here }