码迷,mamicode.com
首页 >  
搜索关键字:rotate    ( 1470个结果
leetcode刷题
给定 matrix = [ [1,2,3], [4,5,6], [7,8,9]], 原地旋转输入矩阵,使其变为:[ [7,4,1], [8,5,2], [9,6,3]] class Solution(object): def rotate(self, matrix): """ :type matri ...
分类:其他好文   时间:2020-04-28 00:07:29    阅读次数:59
189. 旋转数组
代码一: 1 class Solution(object): 2 def rotate(self, nums, k): 3 """ 4 :type nums: List[int] 5 :type k: int 6 :rtype: None Do not return anything, modify ...
分类:编程语言   时间:2020-04-21 23:48:44    阅读次数:87
CSS-动画animation
动画可以通过设置多个节点来精确控制一个或一组动画,常用来实现复杂的动画效果。 引用动画:animation:动画名称 动画时间 运动曲线 何时开始 播放次数 是否反方向; animation: rotate 5s linear 0s infinite alternate; 定义动画: @keyfra ...
分类:Web程序   时间:2020-04-21 11:22:37    阅读次数:82
掘金用户头像旋转
#pic:hover { transform: rotate(666turn); transition-delay: 1s; transition-property: all; transition-duration: 59s; transition-timing-function: cubic-b ...
分类:其他好文   时间:2020-04-17 22:08:12    阅读次数:95
刷题67——旋转矩阵
106.旋转矩阵 题目链接 来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/rotate-matrix-lcci 题目描述 给你一幅由 N × N 矩阵表示的图像,其中每个像素的大小为 4 字节。请你设计一种算法,将图像旋转 90 度。 不占用额 ...
分类:其他好文   时间:2020-04-07 22:49:13    阅读次数:88
GeoGebra重复手段实现
1、自定义工具部分可以在网上搜一些别人做的工具,主要是把自己经常做的一些任务做成工具,减少重复过程 2、列表部分的简单操作如图所示,实现对三个点的多项式拟合 3、通过序列指令格式可以做一个好玩的效果,做一个好玩的万花筒,指令Sequence(Rotate((stroke1,(n 30°)),n,1, ...
分类:其他好文   时间:2020-04-07 20:04:43    阅读次数:138
css创建叉和勾
a{ display: inline-block; width: 10px;height:5px; background: red;line-height: 0;font-size:0;vertical-align: middle;-webkit-transform: rotate(45deg);} ...
分类:Web程序   时间:2020-04-06 23:36:39    阅读次数:167
189. Rotate Array
Problem : Given an array, rotate the array to the right by k steps, where k is non negative. Example 1: Example 2: Note: Try to come up as many soluti ...
分类:其他好文   时间:2020-04-06 18:59:35    阅读次数:67
浅谈 Python实现三次反转解决旋转数组问题
三次反转和python切片 解决 旋转数组 首先声明这几种方法是借鉴Leetcode题解中[吴彦祖](https://leetcode-cn.com/problems/rotate-array/solution/san-ci-fan-zhuan-fu-yi-xie-pythonicde-jie-fa ...
分类:编程语言   时间:2020-04-06 17:50:21    阅读次数:98
189. 旋转数组
1 class Solution 2 { 3 public: 4 void rotate(vector<int>& nums, int k) 5 { 6 int n = nums.size(); 7 k = k % n; 8 reverse(nums.begin(),nums.begin() + n ...
分类:编程语言   时间:2020-04-04 00:26:42    阅读次数:78
1470条   上一页 1 ... 4 5 6 7 8 ... 147 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!