主页

70. Climbing Stairs

Promble link: https://leetcode.com/problems/climbing-stairs/ You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? Input: n = 2 Output: 2 Explanation: There are two ways to climb to the top. 1. 1 step + 1 step 2. 2 steps Input: n = 3...

阅读更多

5. Longest Palindromic Substring

Promble link: https://leetcode.com/problems/longest-palindromic-substring/ Given a string s, return the longest palindromic substring in s. Input: s = "babad" Output: "bab" Explanation: "aba" is also a valid answer. Input: s = "cbbd" Output: "bb" Constraints: 1 <= s.length <= 1000 s consist of only digits and English letters. ...

阅读更多

写在2021年的末尾

今年都干了什么 发学会 申请学校 疫情继续 发学会 其实修士学习的时间真的不算长,M1都花时间上课和玩耍了,也就在M2刚开始的时候才意识到自己应该好好学习了,毕竟出来留学也不是为了混日子的。 申请学校 疫情继续

阅读更多

Tmux commands

tmux(terminal multiplexer) 记录我常用的tmux命令 :point_up: 好记性不如烂笔头 会话操作 tmux 启动窗口,底部有一个状态栏。 ctrl+d 或者 输入exit,就可以退出窗口。 新建会话 第一个启动的窗口编号是0,第二个是1。 使用编号不方便,更好的是给会话起名字。 tmux new -s -n 分离会话 ctrl+b, d 或输入 tmux detach, 就会将当前会话与窗口分离。 tmux detach 查看会话 tmux ls tmux list-session 接入会话 # 使用会话编号...

阅读更多

Docker

Docker command 记录在实际环境中我常用的docker命令。 好记性不如烂笔头。 :point_up: Run ‘docker COMMAND –help’ for more information on a command. image 列出所有image docker images 显示指定image详细信息 docker image inspect 清除没有实例化的image docker image prune 删除image docker image rm -f : force removal of the image 从dockerhub拉取一个...

阅读更多

Some tricks when training your GAN

Abstract TTUR the paper in the [1] Reference Heusel M, Ramsauer H, Unterthiner T, et al. Gans trained by a two time-scale update rule converge to a local nash equilibrium[J]. Advances in neural information processing systems, 2017, 30.

阅读更多