aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-088/henry-wong/php/ch-2.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/challenge-088/henry-wong/php/ch-2.php b/challenge-088/henry-wong/php/ch-2.php
index d5154c58f0..2e639bec68 100644
--- a/challenge-088/henry-wong/php/ch-2.php
+++ b/challenge-088/henry-wong/php/ch-2.php
@@ -1,9 +1,13 @@
<?php
+
+# see http://techieme.in/matrix-rotation/
+
# 0. take row
# 1. delete row
# 2. rotate matrix 90 degrees
# 3. repeat again till no matrix
+# Rotate matrix
# 1. transpose matrix
# 2. reflect horizontal axis