Skip to content

Commit 655e796

Browse files
authored
Merge pull request #5 from Mansi1233/master
Added Problem 64
2 parents fe8ddcb + 84889a8 commit 655e796

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,22 @@
5353
#### Click [__*here*__](Solution/Day-045.cpp) for solution.
5454
#### Click [__*here*__](https://leetcode.com/problems/implement-rand10-using-rand7/) to visit [*LeetCode*](https://leetcode.com/) for this question.
5555
---
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+
---
5672
## Problem 65
5773
##### This problem was asked by Amazon.
5874
##### Given a N by M matrix of numbers, print out the matrix in a clockwise spiral.

0 commit comments

Comments
 (0)