arts-week4
Algorithm
- 867. Transpose Matrix - LeetCode
- 6. ZigZag Conversion - LeetCode
- 443. String Compression - LeetCode
- 189. Rotate Array - LeetCode
- 846. Hand of Straights - LeetCode
- 796. Rotate String - LeetCode
- 278. First Bad Version - LeetCode
Review
并发!=并行
Tip
String和char的相互转换
// String转char
char c = str.charAt(index)
char c = str.toCharArray()
// char转String
String s = String.valueOf('c');
String s = String.valueOf(new char[]{'a', 'b', 'c'});
String s = Character.toString('c');
screen命令
# 查看会话列表
screen -ls
# 重新连接会话
screen -r screenId
# 清除dead会话
screen -wipe
# 进后台
<C-a> d
# 关窗口杀进程 先按Ctrl+a 再按k
<C-a> k