diff --git a/Rotate Image b/Rotate Image new file mode 100644 index 0000000..69cd34c --- /dev/null +++ b/Rotate Image @@ -0,0 +1,13 @@ +class Solution { +public: + void rotate(vector>& matrix) { + reverse(matrix.begin(),matrix.end()); + + for (int i=0;i