This repository provides my own solutions to practice problems on HackerRank. The solutions of mine are primarily written in the languages of C/C++, Java, and Python. The solved problems are a combination of data structure questions and example questions for technical interviews. While developing these solutions, I have focused on achieving the optimal asymptotic time complexity and the optimal asymptotic space complexity. Information for the stated problem constraints has also been considered.
This section provides information for running solutions written in C/C++.
- GNU C++ compiler
- GNU Make utility
- Open a terminal window on your machine
- Navigate to the directory with the source code and the makefile
- Run the
make
command in the terminal window and hit the return key - Launch the produced executable by typing in
./EXECUTABLE
- Provide input in accordance with the Usage.md file in the code directory.
This section provides information for running solutions written in Java.
- Java JDK
- GNU Make utility
- Open a terminal window on your machine
- Navigate to the directory with the source code and the makefile
- Run the
make
command in the terminal window and hit the return key - Launch the produced executable by typing in
java EXECUTABLE_CLASS
- Provide input in accordance with the Usage.md file in the code directory
This section provides information for running solutions written in Python.
- Python 3+ interpreter
- Open a terminal window on your machine
- Navigate to the directory with the source code
- Launch the script by typing in
python SCRIPT
- Provide input in accordance with the Usage.md file in the code directory