码迷,mamicode.com
首页 >  
搜索关键字:anything    ( 347个结果
nginx开启gzip和静态资源缓存、location
1.开启gzip: 主要配置gzip和gzip_types #user nginx; worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker_connec ...
分类:其他好文   时间:2020-05-31 11:14:14    阅读次数:189
delphi inline assembly {asm}
https://community.idera.com/developer tools/programming languages/f/c libraries/72223/inline assembly this code compiles well `` this one indicates an ...
分类:Windows程序   时间:2020-05-14 12:45:52    阅读次数:89
K - MaratonIME goes to the karaoke 统计相连的字符的个数
? Hit me, lock me up, do anything with me, ... ? and Marrone, Bruno After thousands of years repeating the title of this problem statement, always wit ...
分类:其他好文   时间:2020-05-10 01:27:51    阅读次数:82
Leetcode 数组:283 removezeros 移动零(python)
给定一个数组 nums,编写一个函数将所有 0 移动到数组的末尾,同时保持非零元素的相对顺序。 示例: 输入: [0,1,0,3,12] 输出: [1,3,12,0,0] 说明: 必须在原数组上操作,不能拷贝额外的数组。 尽量减少操作次数。 class Solution: def moveZeroe ...
分类:移动开发   时间:2020-04-26 19:04:25    阅读次数:98
C. Remove Adjacent
You are given a string ss consisting of lowercase Latin letters. Let the length of ss be |s||s|. You may perform several operations on this string. In ...
分类:其他好文   时间:2020-04-23 22:44:20    阅读次数:64
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
283.移动零
2020-04-21 移动零 给定一个数组 nums,编写一个函数将所有 0 移动到数组的末尾,同时保持非 零元素的相对顺序。 题解: 思路1:双指针 /** * @param {number[]} nums * @return {void} Do not return anything, modi ...
分类:移动开发   时间:2020-04-21 10:08:43    阅读次数:76
LeetCode 283 移动零
"283. 移动零" 给定一个数组 ,编写一个函数将所有 移动到数组的末尾,同时保持非零元素的相对顺序。 示例: 说明 : 1. 必须在原数组上操作,不能拷贝额外的数组。 2. 尽量减少操作次数。 解法1 思路: 使用 变量 j 来标记0所在的位置,使用 变量i 来遍历整个数组,当 i所在的位置 不 ...
分类:移动开发   时间:2020-04-11 23:39:57    阅读次数:78
Python3标准库:selectors I/O多路复用抽象
1. selectors I/O多路复用抽象 selectors模块在select中平台特定的I/O监视函数之上提供了一个平台独立的抽象层。 1.1 操作模型 selectors中的API是基于事件的,与select中的poll()类似。它有多个实现,并且这个模块会自动设置别名DefaultSele ...
分类:编程语言   时间:2020-04-07 09:21:11    阅读次数:75
[Algo] 11. Rainbow Sort
Given an array of balls, where the color of the balls can only be Red, Green or Blue, sort the balls such that all the Red balls are grouped on the le ...
分类:其他好文   时间:2020-03-04 09:17:30    阅读次数:83
347条   上一页 1 2 3 4 ... 35 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!