Kobayashi-Maru-Test
Description:
You have to do the Kobayashi-Maru-Test at the simulator in the starfleet base.
As Captain of a starfleet ship, you have to fight against klingon warbird ships.
You can only shoot 10 times. But klingon warbirds have shields and to destroy one warbird with shields you need 5 shots. But there are a lot more than 2 warbirds. The sensors count more than 8 warbirds!
You get the list of warbirds and you have to return an array of index-Values of this list, on which your ship should shoot. The index is zero-based.
For example for fighting against one warbird: { 0, 0, 0, 0, 0 }
For example for fighting against two warbirds: { 1, 0, 1, 0, 1, 0, 1, 0, 1, 0 }
Will you win this test? I think your chances are not good....
There was only one man, who won this test!
(If you are not a star trek fan, you should google the "Kobayashi-Maru-Test".)
Similar Kata:
Stats:
Created | Jun 24, 2016 |
Published | Jun 24, 2016 |
Warriors Trained | 254 |
Total Skips | 14 |
Total Code Submissions | 535 |
Total Times Completed | 68 |
C# Completions | 68 |
Total Stars | 14 |
% of votes with a positive feedback rating | 88% of 36 |
Total "Very Satisfied" Votes | 29 |
Total "Somewhat Satisfied" Votes | 5 |
Total "Not Satisfied" Votes | 2 |
Total Rank Assessments | 6 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 7 kyu |