Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Commit

Permalink
updating documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
codeperfectplus committed Oct 5, 2020
1 parent b4cc2e6 commit bca1c50
Show file tree
Hide file tree
Showing 43 changed files with 401 additions and 720 deletions.
176 changes: 175 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Ignore site dir
_site/

# Prerequisites
*.d

Expand Down Expand Up @@ -33,4 +36,175 @@

# Environment files
**/__pycache__
**/.vscode
**/.vscode

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# VSCode config
.vscode/
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# vscode
.vscode

# exe files
*.exe
Empty file.
Empty file.
Empty file.
Empty file.
35 changes: 0 additions & 35 deletions C++/Algorithms/README.md

This file was deleted.

Empty file.
81 changes: 0 additions & 81 deletions C++/Algorithms/SearchingAlgorithms/README.md

This file was deleted.

Empty file.
Empty file.
16 changes: 0 additions & 16 deletions C++/Data Structure/Stacks/README.md

This file was deleted.

Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
1 change: 0 additions & 1 deletion Python/Algorithms/Maths/README.md

This file was deleted.

Empty file.
Empty file.
21 changes: 10 additions & 11 deletions Python/Algorithms/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Algorithm Implementation in Python
# Algorithm Implementation in Python

List of Algorithms in Python contained in this repository

Expand All @@ -14,8 +14,8 @@ List of Algorithms in Python contained in this repository
- [Sorting Algorithms](#sortingalgorithms)
- [Finding all permutation](#permutationalgorithms)
- [Spiral Matrix](#SpiralMatrix)
### Backtracking Algorithms:

### Backtracking Algorithms:
Backtracking is a technique for solving problems recursively by trying to build a solution incrementally, one piece at a time, removing those solutions that fail to satisfy the constraints of the problem at any point of time.
Example of implementation- Soduku solving.

Expand All @@ -24,14 +24,14 @@ Deep learning is part of machine learning, whose methods are based on artificial
Examples include- CNN, RNN, LSTM, GAN, RBM, etc.

### Divide And Conquer:
Divide and Conquer is an algorithm design paradigm based on multi-branched recursion. A divide-and-conquer algorithm works by recursively breaking down a problem into two or more sub-problems of the same or related type, until these become simple enough to be solved directly.
Example of implementation- Quick Sort, Merge Sort.
Divide and Conquer is an algorithm design paradigm based on multi-branched recursion. A divide-and-conquer algorithm works by recursively breaking down a problem into two or more sub-problems of the same or related type, until these become simple enough to be solved directly.
Example of implementation- Quick Sort, Merge Sort.

### Dynamic Programing:
Dynamic Programming is primarily an optimization over plain recursion. Wherever we see a recursive solution that has repeated calls for same inputs, we can optimize it using Dynamic Programming. The idea is to store the results of subproblems, so that we do not have to re-compute them when needed later.
Examples of implementation- Knapsack, Longest Common Subsequence.

### Greedy Algorithms:
### Greedy Algorithms:
A greedy algorithm is a simple, intuitive algorithm that is used in optimization problems. The algorithm makes the optimal choice at each step as it attempts to find the overall optimal way to solve the entire problem.
Examples of implementation- Kruskal's algorithm, Prim's algorithm.

Expand All @@ -40,25 +40,24 @@ A machine learning algorithm is a method that provides systems the ability to au
Examples include- Linear Regression, Logistic Regression, Naïve Bayes, KNN, etc

### Path Finding Algorithms:
Pathfinding or pathing is the plotting, by a computer application, of the shortest route between two points. It is a more practical variant on solving mazes.
Pathfinding or pathing is the plotting, by a computer application, of the shortest route between two points. It is a more practical variant on solving mazes.
Example of implemntation- A* search, Dijkstra's algorithm.

### Recursion Algorithms:
Recursion is a method of solving a problem where the solution depends on solutions to smaller instances of the same problem. Such problems can generally be solved by iteration, but this needs to identify and index the smaller instances at programming time.
Examples of implementation- Tower of Hanoi, Tree traversals, DFS.

### Searching Algorithms:
The searching algorithms are used to search or find one or more than one element from a dataset. These type of algorithms are used to find elements from a specific data structures, which maybe sequential or not.
### Searching Algorithms:
The searching algorithms are used to search or find one or more than one element from a dataset. These type of algorithms are used to find elements from a specific data structures, which maybe sequential or not.
Examples of implementation- Binary Search, Linear Search, Fibonacci Search.

### Sorting Algorithms:
A Sorting algorithm is an algorithm that puts elements of a list in a certain order. The most frequently used orders are numerical order and lexicographical order. Efficient sorting is important for optimizing the efficiency of other algorithms that require input data to be in sorted lists.
Examples of implementation- Quick Sort, Merge Sort.
Examples of implementation- Quick Sort, Merge Sort.

### Finding all permutation:
In mathematics, a permutation of a set is, loosely speaking, an arrangement of its members into a sequence or linear order, or if the set is already ordered, a rearrangement of its elements. The word "permutation" also refers to the act or process of changing the linear order of an ordered set.
Examples of implementation-Input : str = 'ABC' Output : ABC,ACB,BAC,BCA,CAB,CBA

### Spiral Matrix:
The Spiral Matrix problem takes a 2-Dimensional array of N-rows and M-columns as an input, and prints the elements of this matrix in spiral order. The spiral begins at the top left corner of the input matrix, and prints the elements it encounters, while looping towards the center of this matrix, in a clockwise manner.

Empty file.
Loading

0 comments on commit bca1c50

Please sign in to comment.