Backtracking
回溯算法Backtracking,回溯算法,一般用于枚举类问题,比如给定x,要求找到关于x的满足条件y所有可能结果z。这样的问题都可以用回溯算法来解。总体思路为深度遍历x,先看第一层可以选择x内的哪个元素,定下来后再进行递归调用,在x剩下元素中挑选加入后仍旧满足y的,定下后再次递归调用。当到达一层后 ...
Read more
Frp内网穿透+jupyter Notebook 远程连接
前言上一篇文章记录了如何利用frp实现内网穿透从而远程访问Linux主机,本文介绍如何在此基础上远程连接jupyter notebook 更改frp的设置更改外网服务器设置登入外网服务器,打开frps.ini如下设置: 123[common]bind_port = 7000vhost_h ...
Read more
利用Frp实现非局域网远程连接
前言本文介绍如何解决不同局域网下两台电脑远程连接的问题。对于windows平台来说,直接用Google的远程桌面即可,体验不错。但对于Linux系统,Google目前的支持很差,还是回归ssh连接的老套路,但是直接使用ssh连接只能用于同一局域网下,为了实现外网的访问,利用frp来解决。 ubun ...
Read more
个人机器学习平台搭建2
前言本文记录Ubuntu系统下机器学习相关环境的安装和配置 安装 CUDA首先在这个网站查看tensorflow,cuda,python的版本对应关系,选择合适的版本。https://www.tensorflow.org/install/source#tested_source_configura ...
Read more
个人机器学习平台搭建1
前言本篇文章中记录个人机器学习平台的搭建过程,包括硬件选择,组装,系统安装,相关环境的搭建过程。 硬件选择本平台配置如下: 配件 型号 处理器 Intel Core i9-9900k 显卡 MSI TRIO RTX 2080TI 电源 CORSAIR RM850x 固态硬盘 ...
Read more
Sort Algorithms II
Sort algorithms IIIn this article, I listed some specific usages of sort algorithms such as merge linked list, iterative quick sort. Merge linked li ...
Read more
New Start
Don’t panic, keep coding
Read more
Sort Algorithms
Sort algorithmsIn this article, I listed some common sort algorithms and the python code to implement them. I also listed the time and space complexit ...
Read more
Search Algorithms
Search algorithmsIn this article, I listed some common search algorithms and the python code to implement them. I also listed the time and space compl ...
Read more
Analysis of Algorithms
Three cases worst case average case best case Worst casesIn the worst case, we calculate the upper bound on running time. For example, for the algori ...
Read more