- 博客(11)
- 收藏
- 关注
原创 Commonly Used Linux Commands
Table of Contents1. Sed1.1. Insert / Append1.2. Delete1.3. Replace2. Awk2.1. Read different columns2.2. Use customized separator2.3. Filter results by regular expressions1. SedHere is an example test.txt file:> cat test.txthello worldhello worl
2021-04-11 11:12:51 105
原创 【Kubernetes学习系列】搭建Kubernetes集群
文章目录前言一、配置要求二、环境配置1. 主机名解析2. 同步时间3. 关闭防火墙 firewalld4. 关闭selinux5. 禁用Swap分区6. 修改Linux内核参数7. 开启ipvs8. 重启机器三、安装集群所需组件1. 安装Docker2. 安装kubeadm,kubelet和kubectl四、启动Master Node五、加入Worker Node到集群六、配置CNI网络模块七、配置kubectl自动补全前言鉴于目前市面上的云服务提供商已经提供Kubernetes云托管服务,比如G
2021-04-04 13:16:21 196
原创 Docker Study Part 1
Docker Tutorial文章目录Docker TutorialWhat is DockerDocker v.s. Virtual MachineInstallation (CentOS 8)1. Check if Docker is already installed2. Install the tools3. Set up Docker repository4. Update the yum5. Install Docker6. Start Docker7. Test8. (Optional) U
2021-03-21 21:51:17 154 1
原创 UVA 1347. Tour 动态规划
Problem DescriptionJohn Doe, a skilled pilot, enjoys traveling. While on vacation, he rents a small plane and starts visiting beautiful places.To save money, John must determine the shortest closed tour that connects his destinations.Each destination is
2020-07-03 20:56:27 218
原创 HDU 1024 Max Sum Plus Plus 动态规划
Problem DescriptionNow I think you have got an AC in Ignatius.L’s “Max Sum” problem. To be a brave ACMer, we always challenge ourselves to more difficult problems. Now you are faced with a more difficult problem.Given a consecutive number sequence S1,S2,
2020-07-03 12:44:04 100
原创 POJ 3666. Making the Grade 数学证明及动态规划解法
POJ 3666. Making the Grade题目链接DescriptionA straight dirt road connects two fields on FJ’s farm, but it changes elevation more than FJ would like. His cows do not mind climbing up or down a single slope, but they are not fond of an alternating succession
2020-07-02 13:52:10 300
原创 Leetcode Weekly 188 解题报告
文章目录Leetcode 1441. 用栈操作构建数组Leetcode 1442. 形成两个异或相等数组的三元组数目Leetcode 1443. 收集树上所有苹果的最少时间Leetcode 1444. 切披萨的方案数Leetcode 1441. 用栈操作构建数组题目链接注意 “Push” / “Pop” 的大写即可。class Solution { public List<String> buildArray(int[] target, int n) { List
2020-06-30 00:02:51 157
原创 Leetcode Weekly 187 解题报告
文章目录Leetcode 1436. Destination CityLeetcode 1437. Check If All 1's Are at Least Length K Places AwayLeetcode 1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitLeetcode 1439. Find the Kth Smallest Sum of a Matrix With Sorted Ro
2020-06-29 21:41:34 151
原创 Leetcode Weekly 195 解题报告
Leetcode 5448. Path CrossingLeetcode 5449. Check If Array Pairs Are Divisible by kLeetcode 5450. Number of Subsequences That Satisfy the Given Sum ConditionLeetcode 5451. Max Value of Equation\newline\newlineLeetcode 5448. Path Crossing直接模拟这个过程即可,把走
2020-06-28 15:53:09 187
原创 Some problems about Topological Sort
Topological sort is an basic topic in graph theory, which is the foundation for many other problems like calculating strongly connected components (SCC). This article will discuss a couple of problems related to topological sort and its application. I will
2020-06-26 22:36:23 160
原创 Problems about removing some characters in a string to make it lexicographically smallest
Problems about removing some characters in a string to make it lexicographically smallestThere are a bunch of problems in Leetcode about removing some characters / digits in a string to make it lexicographically smallest. Here i will have a discussion abo
2020-06-25 21:59:41 196
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人