摘要:
Write a Dockerfile In detail: FROM(指定基础image) 构建指令,必须指定且需要在Dockerfile其他指令的前面。后续的指令都依赖于该指令指定的image。FROM指令指定的基础image可以是官方远程仓库中的,也可以位于本地仓库。 FROM FROM : M 阅读全文
摘要:
原题: Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adj 阅读全文
摘要:
面试题9、斐波拉契数列 题目: 输入整数n,求斐波拉契数列第n个数。 思路: 一、递归式算法: 利用f(n) = f(n 1) + f(n 2)的特性来进行递归,代码如下: 代码: long long Fib(unsigned int n) { if(n include using namespac 阅读全文