Cycle Detection (Hamiltonian)

Floyed Warshal

Input
5 7
1 2 4
1 3 1
1 5 6
2 5 3
2 4 1
3 2 1
4 5 1
0 0

MinSum (DFS/QUEUE)

Input:

5 6
3 4 1 2 8 6
6 1 8 2 7 4
5 9 3 9 9 5
8 4 1 3 2 6
3 7 2 1 2 3

BFS/DFS (Maze Problem)

Input :
8 8
#.#.#.#.
……..
#.#…..
#.##.#..
..#..##.
#..##…
…#…#
#.s#d.#.

Fibnacci Number by Big Integer