HackerRank for Work allows you to create full-stack questions to assess candidates. It facilitates the hiring of stack programmers who are familiar with each layer of software technology and are adept at both front-end and back-end programming.
- You must be logged in to your HackerRank for Work account.
- Click Library on the home page and then click +New Question in the library tab.
- In the Select a question type dialog box, click the required question type:
- Problem Name
Ensure that the problem name does not hint at the solution of the problem.
While you can assign any score you want for the questions you create, we use certain standards for assigning scores to the questions we create that you might find useful.
Score Question Type 50 points For an easy question that can be solved in 15 minutes 75 points For a medium question that can be solved in 30 minutes 100 points For a hard question that can be solved in 45 to 60 minutes
- Best Practice: Tags
Tags are words or phrases that help in searching and organizing questions. You can add existing tags or create new tags. When you later generate candidate reports, tags can also help in generating performance graphs and comparing performance across candidates.
- Problem Description
While describing the problem statement, ensure that the question is clear and detailed. You can also use tables, graphs, or attachments to enhance the clarity.
- Internal notes
Internal notes are for later reference. You can include a rubric about scoring the questions or write solutions to the problems in this section. These can be used by your team while evaluating the test. They are only visible to your team and you; however, candidates cannot view these notes. This step is optional.
- Click Save & Proceed.
In the Folder Structure tab, perform one of the steps to upload the project folder:
Recommended: Click Upload zip file to upload multiple files in the project (as a zip) on which the candidate is required to work on to solve the full-stack problem.
Once you upload your project, the default project file in the system gets replaced with your project file. This project file is then unzipped on the system and can be viewed in the console.
Note: The top level project folder that you upload must be named "project" for it to work seamlessly on our platform.
Modify the existing project by adding or deleting files based on your requirements:
- Right click the required file or folder where you want to insert your project files.
Click New and then click the required Folder to which you want to add new files or folders.
- Select the required file and type the code in the console.
Note: You can create multiple files in a folder.
Click Download current candidate structure to download the default project files. Modify the project locally and upload it as a zip file.
Ensure that top level project folder that you upload is named "project".
In the IDE settings section, modify install, run, and test commands for the project, if required.
This step is optional. Some default commands are specified based on the selected framework. Integrated Development Environment (IDE) provides code editing, code compiling, code debugging, and code auto-completing options. These commands are run by the candidate while taking the test.
In the IDE Settings section, you can disable the coding project to be launched on the HTTP server.
This step is optional. By default, this feature is enabled and allows the candidates view the result of their code in the real time on an HTTP server while taking the test. You might want to disable this for only back-end programming projects.
Note: Ensure that the web-server is launched on localhost:8000 only. We use port 8000 to open the window via Visit App. You also need to attach to host 0.0.0.0 instead of localhost.
Recommended: Specify the path of the files that must be open in the editor by default when the candidate views the project.
In the Scoring section, enter a command that gives an output in a valid format for scoring the question.This step is optional. For more information on scoring, refer the Scoring a full-stack test topic.
Click Save Question to save and exit. Alternatively, click Save & Add another to save and add another question.