In your HackerRank Tests, your answer to particular types of questions is automatically saved by the interface. For instance, while answering coding questions, the code editor periodically saves your code as a draft. For certain other types of questions, you must manually submit your answers to ensure that they are saved.
Tip: Although some of your answers are automatically saved by the test interface, it is recommended that you manually submit all your answers before the test ends. This ensures that the most recent version of your answers is submitted in the test. During the test, you can modify and submit your answers any number of times.
Questions for which your answers are automatically saved
The HackerRank Test interface automatically saves your answer for specific types of questions, such as Coding, Multiple-Choice, and Diagram types of questions.
- Coding/database Questions - The code editor automatically saves your code and database queries periodically as drafts. If your test ends automatically due to a time-out, or if you miss compiling and submitting your code, your last saved draft version of the code is automatically submitted in the test as the final answer. Refer to Auto Submission during the Test time-out for detailed information about code submissions when a test ends automatically.
- Multiple-choice Questions - The interface saves your chosen answer immediately. If the test ended and your answer was not submitted, the saved answer is automatically submitted in the test as the final answer.
- Diagram Questions - Our test interface has an integrated draw.io diagram editor to create your diagrams and flowcharts. The diagrams, along with any description you add in the Explanation field, are periodically saved during the test. If the test ended and your answer was not submitted, the last saved version is automatically submitted in the test as the final answer.
Questions for which you must manually submit your answers
In your test, for certain other types of questions such as the Sentence Completion (Fill in the blanks), File Upload, and Subjective type of questions, you must submit your answer before navigating away from the question or before the test ends. Your answers to these types of questions are not saved automatically by the interface, and therefore, your answer will be lost if it is not submitted by you.
Note: Before closing a test, it is recommended that you review your answers and submit them manually. This ensures that your most recent answers are submitted, and none of your answers remain without submission.