找到约 10000 条结果
  • sql 常见query
    如下数据库表: {代码...} 查询“001”课程比“002”课程成绩高的所有学生的学号 {代码...} 查询平均成绩大于60分的同学的学号和平均成绩 {代码...} 查询所有同学的学号、姓名、选课数、总成绩 {代码...} 查询姓‘李’的老师的个数 {代码...} 查询没有学过“叶平”老师可的同学的学号、姓名: {代码...} 查询学过“叶平”老师所教的...
    2024-08-03
  • 收集的一些文档
    高性能MySQL(第3版).Baron.Scbwartz等.扫描版电子书.zip [链接] bkap[JAVA解惑](美)布洛赫.扫描版.zip [链接] ntgv《Elasticsearch源码解析与优化实战 》PDF+张超.zip [链接] ebtn《TensorFlow深度学习算法原理与编程实战》蒋子阳.zip [链接] e7mv《概率论与数理统计》浙大版(第四版)教材.zip [链接] n2yv《航海图的...
    2019-11-12
    1
  • 【GO】切片
    Go 数组的长度不可改变,在特定场景中这样的集合就不太适用,Go 中提供了一种灵活,功能强悍的内置类型切片("动态数组"),与数组相比切片的长度是不固定的,可以追加元素,在追加时可能使切片的容量增大。
    2021-05-21
  • C语言 内存操作函数
    memcpy {代码...} {代码...}
    2017-05-22
  • [LintCode] Split String
    Give a string, you can choose to split the string after one character or two adjacent characters, and make the string to be composed of only one character or two characters. Output all possible results.
    2018-02-07
  • 6. ZigZag Conversion
    The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)
    2019-01-29
  • CentOS下下删除大量文件
    [CentOS下下删除大量文件]首先建立50万个文件➜ test for i in $(seq 1 500000);do echo text >>$i.txt;donerm➜ test time rm -f *zsh: sure you want to delete all the files in /home/hungerr/test [yn]? yzsh: argument list too long: rmrm -f * 3.63s user 0.29s system 98% cpu 3.985 total由于文件数量过多...
    2020-11-18
  • 字符串 s 中找出第一个只出现一次的字符
    原题在字符串 s 中找出第一个只出现一次的字符。如果没有,返回一个单空格。 s 只包含小写字母。思路第一次遍历使用字典储存第二次遍历寻找第一个次数为1的字符,若没找到返回' '代码 {代码...}
    2020-12-08
  • leetcode115. Distinct Subsequences
    这时一道典型的DP题。也就是说,我们需要通过一个数据结构来记录临时结果从而支持我们在已知前面几个情况的场景下对后续情况进行计算。在这道题目中,如果我们想要计算S中含有几个T(假设S长度为n,T长度为m),那么我们只需要知道S[0...n]含有几个T[0...m-1]以及S[0...n-1]含有几个T[0...m-1]。从中归纳出最普遍的场景...
    2017-09-05
  • 【js】字符串方法汇总
    substring(index1,index2) substr(start,length) slice(start,end) split(str)
    2021-08-19
  • [LeetCode] 893. Groups of Special-Equivalent Strings
    Two strings S and T are special-equivalent if after any number of moves, S == T.
    2018-10-09
  • [LeetCode] Student Attendance Record I
    You are given a string representing an attendance record for a student. The record only contains the following three characters:'A' : Absent.'L' : Late.'P' : Present.A student could be rewarded if his attendance record doesn't contain more than one 'A' (absent) or more than two continuous 'L' (la...
    2018-09-16
  • 面试题——this指向问题
    最近面试,今天灌个水 [掩面] {代码...} {代码...}
    2019-03-05
    1
  • kubernetes 的TCP 数据包可视化
    k8spacket是用 Golang 编写的工具,它使用gopacket第三方库来嗅探工作负载(传入和传出)上的 TCP 数据包。它在运行的容器网络接口上创建 TCP 侦听器。当 Kubernetes 创建一个新容器时,CNI 插件负责提供与其他容器进行通信的可能性。最常见的方法是用linux namespace隔离网络并用veth pair连接隔离的 namespace 与网桥...
    2022-10-27
  • C++实现的splite函数,记录便于查询
    记录方便查询 {代码...}
    2018-11-18
  • Linux 常用命令
    sed命令 {代码...} find命令 {代码...}
    2021-09-28
  • 301. Remove Invalid Parenthesis
    问题:Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results.
    2016-07-10