In this article
In HackerRank Tests, you can debug your solution using the following methods:
- Using the "Test against custom input" option to pass custom input values to your code and verifying the output.
- Using the relevant debug print statements or print commands specific to the chosen programming language. Include the print commands and test your outputs at different logical levels. For example, while coding with C++, use the cout<< command to debug your code.
Refer to the following topics for specific information: