Skip to content

suyash248/ds_algo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1ca9470 · Dec 6, 2022
Oct 7, 2021
Nov 5, 2022
May 15, 2016
Nov 5, 2022
Dec 6, 2022
Dec 6, 2022
Dec 6, 2022
Dec 8, 2018
Sep 21, 2018
Dec 6, 2022
Dec 6, 2022
Dec 6, 2022
Dec 6, 2022
Mar 15, 2020
Dec 25, 2017
Dec 13, 2017
Sep 14, 2020
Feb 4, 2018
Dec 6, 2022
Dec 6, 2022

Repository files navigation

Data structures & Algorithms (Python/Java)

Index

Topics

Tree

Graph

Array

Dynamic programming

Backtracking

Searching

Sorting

Heap

Trie

Queue

Linked list

Misc

How to run?

For python files:

  1. Move to <project-dir>, create virtual environment and then activate it as
$ cd <project-dir>
$ virtualenv -p python3 .environment
$ source .environment/bin/activate

Note: Step-1 is optional but recommended.

  1. Add project to PYTHONPATH as
$ export PYTHONPATH="$PYTHONPATH:." # . corresponds to current directory(project-dir)

If you are using PyCharm then it can be done under run configuration.

For java files:

  1. Compile & Run
javac <file_name>.java
java <Main>