We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7513359 commit 57378c5Copy full SHA for 57378c5
src/algorithms/uncategorized/square-matrix-rotation/README.md
@@ -80,9 +80,29 @@ diagonal top-right/bottom-left rotation along with horizontal
80
rotation.
81
82
```
83
-A B C A - - . . A
84
-/ / --> B - - --> . . B
85
-/ . . C - - . . C
+Let's say we have a string at the top of the matrix:
+
+A B C
86
+• • •
87
88
89
+Let's do top-right/bottom-left diagonal reflection:
90
91
92
+/ / •
93
+/ • •
94
95
+And not let's do horizontal reflection:
96
97
+A → →
98
+B → →
99
+C → →
100
101
+The string has been rotated to 90 degree.
102
103
+• • A
104
+• • B
105
+• • C
106
107
108
## References
0 commit comments