Skip to content

Commit 7ea0321

Browse files
committed
latest one
1 parent ea5789c commit 7ea0321

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

README.md

+37
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,43 @@
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 65
57+
##### This problem was asked by Amazon.
58+
##### Given a N by M matrix of numbers, print out the matrix in a clockwise spiral.
59+
##### For example, given the following matrix:
60+
#####
61+
```
62+
[[1, 2, 3, 4, 5],
63+
[6, 7, 8, 9, 10],
64+
[11, 12, 13, 14, 15],
65+
[16, 17, 18, 19, 20]]
66+
```
67+
##### You should print out the following:
68+
#####
69+
``` 1
70+
2
71+
3
72+
4
73+
5
74+
10
75+
15
76+
20
77+
19
78+
18
79+
17
80+
16
81+
11
82+
6
83+
7
84+
8
85+
9
86+
14
87+
13
88+
12
89+
```
90+
91+
#### Click [__*here*__](Solution/Day-065.cpp) for solution.
92+
---
5693
## Problem 68
5794
##### This problem was asked by Google.
5895
##### On our special chessboard, two bishops attack each other if they share the same diagonal. This includes bishops that have another bishop located between them, i.e. bishops can attack through pieces.

0 commit comments

Comments
 (0)