mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2025-05-18 12:02:53 +02:00
feat(challenges): add rotate-2-dimensional-array-90-degrees
This commit is contained in:
@ -0,0 +1,4 @@
|
||||
clockwise
|
||||
1 2 3
|
||||
4 5 6
|
||||
7 8 9
|
@ -0,0 +1,3 @@
|
||||
7 4 1
|
||||
8 5 2
|
||||
9 6 3
|
@ -0,0 +1,4 @@
|
||||
anticlockwise
|
||||
1 2 3
|
||||
4 5 6
|
||||
7 8 9
|
@ -0,0 +1,3 @@
|
||||
1 4 7
|
||||
2 5 8
|
||||
3 6 9
|
@ -0,0 +1,5 @@
|
||||
clockwise
|
||||
5 1 9 11
|
||||
2 4 8 10
|
||||
13 3 6 7
|
||||
15 14 12 16
|
@ -0,0 +1,4 @@
|
||||
15 13 2 5
|
||||
14 3 4 1
|
||||
12 6 8 9
|
||||
16 7 10 11
|
@ -0,0 +1,4 @@
|
||||
clockwise
|
||||
11 12 13 14
|
||||
21 22 23 24
|
||||
31 32 33 34
|
@ -0,0 +1,4 @@
|
||||
31 21 11
|
||||
32 22 12
|
||||
33 23 13
|
||||
34 24 14
|
Reference in New Issue
Block a user