There are scenarios to code auto-submission during test time-out for different question types in HackerRank.
Definitions: Saving and Submitting a Question in a Test
Run Code - Compiles/executes a single test case in a question (can be a sample test case or a custom input).
Run Test - Compiles/executes all the test cases for a question.
Submit - Explicit submission of the question solution (solution can be submitted multiple times).
Question Type | Candidate Action | Outcome During a Test Time-Out |
Coding, Database, Approximate Solution |
Run Code: No Run Test: No Submit: No |
Typed code will not be considered for evaluation. |
Run Code: Yes Run Test: Yes Submit: Yes |
The latest submitted code will be considered for evaluation. | |
Run Code: Yes Run Test: Yes Submit: No |
The outcome of the recent Run Test action is considered for evaluation. | |
Run Code: Yes Run Test: No Submit: No |
The outcome of the recent Run Code action is considered for evaluation. | |
Modifies answer after submitting code once, but: Run Code: Yes/No |
The last submitted code will be considered for evaluation. | |
HTML, CSS, JS |
Render: Yes |
The latest submitted code will be considered for evaluation. |
Projects: Front-End, Back-End, Full Stack, Mobile Development |
Run Test: Yes/No Submit: Yes/No |
The last change made by the candidate will be considered for evaluation. Note: If the repository size exceeds 25MB, the code will not be saved. |
Projects: DevOps, Cloud and Data Science |
Submit: Yes/No |
The last change made by the candidate will be considered for evaluation. Note: If the repository size exceeds 25MB, the code will not be saved. |
MCQ, Sentence Completion, Subjective, File Upload, Diagram, Whiteboard, Code Review | Not Applicable | Selected/given answers will be auto-saved and considered for evaluation. |