首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
首页
>
试题广场
>
旋转图像
[编程题]旋转图像
热度指数:12099
时间限制:C/C++ 1秒,其他语言2秒
空间限制:C/C++ 32M,其他语言64M
算法知识视频讲解
给出一个用二维矩阵表示的图像
返回该图像顺时针旋转90度的结果
扩展:
你能使用原地算法解决这个问题么?
马上挑战
算法知识视频讲解
提交运行
算法知识视频讲解
添加笔记
求解答(0)
邀请回答
收藏(72)
分享
提交结果有问题?
0个回答
2篇题解
添加回答
这道题你会答吗?花几分钟告诉大家答案吧!
提交观点
问题信息
数组
难度:
0条回答
72收藏
17345浏览
热门推荐
通过挑战的用户
查看代码
牛客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)
以下关于 HTTP/2 的说法,哪...
网络基础
评论
(1)
小红的子串权值和
组合数学
字节跳动
前缀和
评论
(1)
来自
2024秋招-字节跳动-...
数组同构
堆
贪心
位运算
评论
(1)
以下闭包代码中,调用 functi...
Python
评论
(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 }