Profite d’un challenge exaltant et rejoins John McClane dans son combat pour sauver le réveillon au Nakatomi Plaza !
John doit neutraliser les terroristes présents dans le célèbre building et sauver le réveillon de Noël. Pour cela, il utilise des stratagèmes élaborés !
Les terroristes sont dispersés dans les étages, John doit les éliminer un par un pour arriver tout en haut de l’hôtel, à l’étage 100.
C’est son copain policier en bas, qui lui envoie la position des ennemis par radio.
John démarre à un étage aux alentours de l’étage 50.
On récupère la position de tous les ennemis.
John ne s’arrête à un étage que pour neutraliser un ennemi, en respectant ces règles :
Tu dois retourner la séquence que John doit effectuer pour arriver au dernier étage. Le format attendu est 50-55-62-62-70-71-100
challenge code for resolution via API: NOEL_2023_3
Some resources to help you:
Data and algorithmic logic Methodologies Corrections
Progress through challenges using our resolution aids: tools, techniques and advice to help you overcome the most complex programming challenges with methodology, confidence and creativity.
Dataset and algorithmic logic
Based on the data and the expected response, use the process to determine the logic to implement.
Show data and progressDevelop a structured approach with our solving guides. Work on specific concepts such as object-oriented programming or unit testing to improve your coding style and progress.
No methodology yet for this challenge, but we are working on it! Follow us to be informed of the release!
The corrections allow you to discover certain technical concepts but will also give you a solution to the challenge. Code the challenge yourself before consulting the corrections ;)
No answer yet for this challenge, but we&'re working on it! Follow us to be informed of the release!
Programming concept(s) that can be used to solve this challenge: Conditions, Tableaux, Programmation Orientée Objet, Récursivité
Other challenges to complete