7 kyu
Basics 04: Rotate Matrix
168 of 2,020smile67
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
Similar Kata:
Stats:
Created | Feb 6, 2016 |
Published | Feb 6, 2016 |
Warriors Trained | 3456 |
Total Skips | 104 |
Total Code Submissions | 5533 |
Total Times Completed | 2020 |
C# Completions | 168 |
JavaScript Completions | 1308 |
C++ Completions | 263 |
C Completions | 68 |
Python Completions | 273 |
Total Stars | 54 |
% of votes with a positive feedback rating | 92% of 295 |
Total "Very Satisfied" Votes | 254 |
Total "Somewhat Satisfied" Votes | 35 |
Total "Not Satisfied" Votes | 6 |
Total Rank Assessments | 11 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |