We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
The problem prompt not only doesn't make any sense grammatically, but also has unbalanced brackets in the example code, making it appear even more non-sensical. You can only (barely) make sense of what it's even asking for by skipping to the end and looking at the steps towards an example solution and trying to infer context cues.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Array Manipulation
You are viewing a single comment's thread. Return to all comments →
The problem prompt not only doesn't make any sense grammatically, but also has unbalanced brackets in the example code, making it appear even more non-sensical. You can only (barely) make sense of what it's even asking for by skipping to the end and looking at the steps towards an example solution and trying to infer context cues.