In your HackerRank Tests, the interface automatically saves your answer to particular types of questions. 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 to the test. During the test, you can modify and submit your answers any number of times.
Questions for Which the Auto Saving Functionality Works
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 ends and your answer is not submitted, the saved answer is automatically submitted to 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 and 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 to the test as the final answer.
Questions for which you Must Manually Submit your Answers
For certain other types of questions in your test, such as the Sentence Completion (Fill in the blanks), File Upload type of questions, you must submit your answer before navigating away from the question or before the test ends. Your answers to these questions are not saved automatically by the interface, so your answer will be lost if you do not submit it.
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.