5 kyu
Graphics Series #3: Repair the LED display
60 of 97myjinxin2015
Description:
Graphics Series #3: Repair the LED display
Story
There is a huge LED monitor, because it's too old, Its digital display module is faulty. Can you fix it?
Rules
Normal display data is stored in an array, its name is nums
. It has been preload, you can use it directly.
Fault types are:
1. Flip up and down | 2. Flip left and right | 3. Flip both 1 and 2 |
---|---|---|
Your task is write code in function checkLED
/check_led
. Check the argument led
(2D array contains 0 and 1, 1 is the dots, 0 is the blank, looks like the example above), find the errors and correct them, and return the modified array.
Graphics Series:
Puzzles
Games
Similar Kata:
Stats:
Created | Jun 17, 2016 |
Published | Jun 18, 2016 |
Warriors Trained | 416 |
Total Skips | 16 |
Total Code Submissions | 385 |
Total Times Completed | 97 |
JavaScript Completions | 60 |
Python Completions | 42 |
Total Stars | 28 |
% of votes with a positive feedback rating | 94% of 45 |
Total "Very Satisfied" Votes | 40 |
Total "Somewhat Satisfied" Votes | 5 |
Total "Not Satisfied" Votes | 0 |
Total Rank Assessments | 6 |
Average Assessed Rank | 5 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 6 kyu |