6 kyu
Airport Arrivals/Departures - #2
118 of 309dinglemouse
Description:
Well here you are again, still staring blankly at the same arrivals/departures flap display...
![](http://www.airport-arrivals-departures.com/img/meta/1200_630_arrivals-departures.png)
Kata Task
Part #1
In Part #1 of this series you already figured out how the flap display mechanism works.
You now know what the updated display will look like after applying a set of rotor moves.
If you haven't already completed Part 1, then now is a good time to do it!
Part #2
Now in this current Kata your task is the opposite.
It's the same board with the same rules...
But this time you are required to return the set of rotor
moves needed to transform the display from the before
to the after
state.
Look at the example tests for guidance.
And good luck!
:-)
Notes
- For
Java
,Python
, andC#
, a convenient String of the rotor characters is provided inPreloaded.ALPHABET
. - For
Haskell
, the stringalphabet
containing the rotor characters is provided inPreloaded
.
Algorithms
Similar Kata:
Stats:
Created | Dec 11, 2016 |
Published | Dec 11, 2016 |
Warriors Trained | 1061 |
Total Skips | 19 |
Total Code Submissions | 1716 |
Total Times Completed | 309 |
JavaScript Completions | 118 |
Java Completions | 90 |
C# Completions | 31 |
Python Completions | 87 |
Haskell Completions | 2 |
Total Stars | 33 |
% of votes with a positive feedback rating | 96% of 103 |
Total "Very Satisfied" Votes | 96 |
Total "Somewhat Satisfied" Votes | 6 |
Total "Not Satisfied" Votes | 1 |
Total Rank Assessments | 8 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 7 kyu |