alexander-ww / hacker-rank-practice

This repository provides my own solutions to interview and problem-solving practice problems listed on HackerRank.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HackerRank Practice

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.

Running C/C++ Solutions

This section provides information for running solutions written in C/C++.

Required Tools

  • GNU C++ compiler
  • GNU Make utility

Code Execution

  1. Open a terminal window on your machine
  2. Navigate to the directory with the source code and the makefile
  3. Run the make command in the terminal window and hit the return key
  4. Launch the produced executable by typing in ./EXECUTABLE
  5. Provide input in accordance with the Usage.md file in the code directory.

Running Java Solutions

This section provides information for running solutions written in Java.

Required Tools

  • Java JDK
  • GNU Make utility

Code Execution

  1. Open a terminal window on your machine
  2. Navigate to the directory with the source code and the makefile
  3. Run the make command in the terminal window and hit the return key
  4. Launch the produced executable by typing in java EXECUTABLE_CLASS
  5. Provide input in accordance with the Usage.md file in the code directory

Running Python Solutions

This section provides information for running solutions written in Python.

Required Tools

  • Python 3+ interpreter

Code Execution

  1. Open a terminal window on your machine
  2. Navigate to the directory with the source code
  3. Launch the script by typing in python SCRIPT
  4. Provide input in accordance with the Usage.md file in the code directory

About

This repository provides my own solutions to interview and problem-solving practice problems listed on HackerRank.

License:GNU General Public License v3.0


Languages

Language:Java 36.9%Language:C++ 33.6%Language:Python 25.1%Language:Makefile 4.4%