7 kyu

Basics 04: Rotate Matrix

168 of 2,045smile67

Description:

Your task is to rotate a matrix 90 degree to the left. The matrix is an array of integers with dimension n,m. So this kata checks some basics, it's not too difficult.

There's nothing more to explain, no tricks, no "bad cases";-). Perhaps you take a look at the testcases...

One easy example:

Input: {{-1, 4, 5},
        { 2, 3, 4}}

Output: {{ 5, 4},
         { 4, 3},
         {-1, 2}}

First there are some static tests, later on random tests too...

Hope you have fun:-)!

Fundamentals
Mathematics
Arrays
Matrix

Stats:

CreatedFeb 6, 2016
PublishedFeb 6, 2016
Warriors Trained3498
Total Skips106
Total Code Submissions5610
Total Times Completed2045
C# Completions168
JavaScript Completions1315
C++ Completions269
C Completions71
Python Completions284
Total Stars53
% of votes with a positive feedback rating92% of 299
Total "Very Satisfied" Votes257
Total "Somewhat Satisfied" Votes36
Total "Not Satisfied" Votes6
Total Rank Assessments11
Average Assessed Rank
6 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • smile67 Avatar
  • CursedFlames Avatar
  • myjinxin2015 Avatar
  • Dentzil Avatar
  • user9644768 Avatar
  • hobovsky Avatar
  • trashy_incel Avatar
  • akar-0 Avatar
Ad