Algorithm_Study
꾸준한算法저장소입니다。 版本Javascr ipt(ES6)및Python(python3)입니다。
구조
∟ 문제파일형식
∟ 알고리즘 문제 사이트
∟ 문제 분류
∟ 문제 이름
∟ code
∟ solution
∟ doc
∟ question.md
∟ 알고리즘 개념 공부
∟ 개념 분류
Iceberg
Front-End Boilerplate
Iceberg is built with React + Babel + Webpack + SASS. It's a solution for start your projects.
Now with CLI:
Author: Kevin Py
Website:
Installation
$ git clone https://github.com/KevinPy/Iceberg.git
$ cd Iceberg
$ npm in
约瑟夫斯问题
的解决方案。
我的版本从命令行接受并验证N和K:
$ ./solution.py -h
usage: solution.py [-h] [-n int] [-k int]
Josephus Problem
optional arguments:
-h, --help show this help message and exit
-n int N (default: 10)
-k int K (default: 3)
N和K都必须大于0:
$