File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 53
53
#### Click [ __ * here* __ ] ( Solution/Day-045.cpp ) for solution.
54
54
#### Click [ __ * here* __ ] ( https://leetcode.com/problems/implement-rand10-using-rand7/ ) to visit [ * LeetCode* ] ( https://leetcode.com/ ) for this question.
55
55
---
56
+ ## Problem 64
57
+ ##### This problem was asked by Google.
58
+ ##### A knight's tour is a sequence of moves by a knight on a chessboard such that all squares are visited once.
59
+ ##### Given N, write a function to return the number of knight's tours on an N by N chessboard.
60
+ ##### My Testcase :
61
+ #####
62
+ ```
63
+ input : 1 , Output : 1
64
+ input : 2 , Output : 0
65
+ input : 3 , Output : 0
66
+ input : 4 , Output : 0
67
+ input : 5 , Output : 1728 (it took 23 seconds)
68
+ ```
69
+
70
+ #### Click [ __ * here* __ ] ( Solution/Day-064.cpp ) for solution.
71
+ ---
56
72
## Problem 65
57
73
##### This problem was asked by Amazon.
58
74
##### Given a N by M matrix of numbers, print out the matrix in a clockwise spiral.
You can’t perform that action at this time.
0 commit comments