其他
开始 字体 Hello World!两个星号 加粗 *Hello World!一个星号斜体 Hello World!三个星号加粗斜体 Hello World!两边波浪号 废弃文本 Hello World! Hello World! 引用 箭头符号 选择狂神说Java。 分割线 三个-横杠或三个星号 ...
1、关闭防火墙 systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firewall开机启动 查看防火墙状态firewall-cmd --state systemctl status f ...
LeetCode题解——哈希表 LC242 有效的字母异位词 class Solution: def isAnagram(self, s: str, t: str) -> bool: dic1, dic2 = {},{} for c in s: dic1[c] = dic1.get(c, 0) + ...
git checkout -b justin a9c146a09505837ec03b This will create the new branch and check it out. git branch justin a9c146a09505837ec03b This creates the ...
package com.wtest.config; import com.baomidou.mybatisplus.core.injector.ISqlInjector; import com.baomidou.mybatisplus.extension.plugins.PaginationInte ...
Tomcat PUT方法任意写文件漏洞(CVE-2017-12615) 影响版本:8.5.19 漏洞本质Tomcat配置了可写(readonly=false),导致我们可以往服务器写文件: ``` <servlet> <servlet-name>default</servlet-name> <ser ...
1.寻找某个数 2.寻找某个边界 3.寻找。。。 似乎都是在寻找不同的东西对吧,实际上还是基于第一种的变式,即一种分界线和单调的思维。 // 在nums的数组中寻找target,寻找到了返回下标,为寻找到返回-1 int search(vector<int>& nums, int target) { ...
这种题目,第一眼就知道它是和对手互补。 每个人都能拿1-3个子,那么我们每次拿取都和对方互补,使得一个回合内被移除的子的数量是 min + max = 4, 那么整个问题就直接变成了 n = 1, 2, 3, 4 时能否胜利的问题。 显然,由于我们先手,所以 n = 1, 2, 3 的时候,我们必赢 ...
On an 8x8 chessboard, there can be multiple Black Queens and one White King. Given an array of integer coordinates queens that represents the position ...
为了解决上述问题,快速帮助开发者攻克 Kubernetes 技术难题,我们和 ACK CNFS 及 NAS 的开发团队一起准备了一场“硬核”训练营,为大家带来干货满满的直播课程,不仅提供技术难点的深度解读、最佳实践经验和成功案例分享,同时实战环节将带你“沉浸式”上手体验,更有多重惊喜好礼等你来拿! ...