JohannLuis
JohannLuis
全部文章
分类
未归档(1)
题解(2)
归档
标签
去牛客网
登录
/
注册
JohannLuis的博客
全部文章
(共2篇)
题解 | #去掉空行#
方法1:循环+打印非空的行 【循环读行,只能用while实现】 #!/bin/bash while read line do if [[ -z $line ]] then # 删除空行 continue fi echo $line done < nowc...
bash
bash
2022-04-29
8
655
题解 | Java版本#设计LRU缓存结构#三种方法
https://www.cnblogs.com/liujinhui/p/15870261.html 方法1:使用动态规划 import java.util.*; public class Solution { &n...
Java
2022-02-08
1
541