A repository for data structures and algorithms coded in c++
Make sure you have the latest version of GCC . Click here to install latest version for windows and here for linux
Select any file from the folder and copy the code to any text editor of your choice and save the file in ".cpp" format.
Open command prompt and navigate to the location where you saved the file and now run the following commands
gcc file-name.cpp -o file-name //here file-name is a your desired name
file-name //here file-name is a your desired name
Open terminal and navigate to the location where you saved the file and now run the following commands
gcc file-name.cpp //here file-name is a your desired name
./a.out
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Skip the hassle, use gitpod
Please make sure to update tests as appropriate.