This repository divided into two parts:
DS (Data Structures) - Ground level implementation of popular data struture in JAVA (eg. Linked List).
ALGO (Algorithms) - A very good set of algorithm problems solved in JAVA.
Must have java installed.
Follow below steps to run all programs on your machine:
- Clone this project in desired location
git clone https://github.com/Lakshitnagar/DS-ALGO.git
- Change directory to the cloned project
cd DS-ALGO
- Add present working directory to the JAVA CLASSPATH (there are multiple ways)
java -cp <pwd>
- Compile all files
javac **/*.java
- Run the specific program. For example :
java ds.linkedlist.p1.S1