Using basic algorithms
Project description
BasicAlgo
1. Objective
The objective of this project is to be familiar with python language and data structures and algorithms.
2. Scope
The scope of this project is basic data structures and algorithms used in day-to-day life.
3. Introduction to library
This library is intended to the users who want to use basic algorithms in python. The basic algorithms includes:
- Kadane's Algorithm
- Next permutation
- Longest consecutive sequence
- Fractional knapsack
- N-Queens
- Sudoku solving
- M colouring problem
- Print all permutations of a string
- Word break
- Palindrome partitioning
- Subset sum
- Kth permutation sequence
- Check for balanced parentheses
- Next greater element
- Largest rectangle in histogram
- Reverse words in string
- Longest Common prefix
- Rabin Karp
- Prefix function / Z-function
- KMP Algorithm
- Binary tree, traversals and views
- Height of binary tree
- LCA in binary tree
- Maximum sum path
- Binary tree from inorder and preorder
- Binary tree from inorder and postorder
- MST using Prim's Algorithm
- MST using Kruskal's Algorithm
- Max product subarray
- Longest increasing subsequence
- Longest common subsequence
- 0/1 Knapsack Problem
- Coin Change
- Subset sum
- Egg dropping
- Palindrome partitioning
2. Usage of library
import Stack
from Stack import CheckForBalancedParentheses as cfbp
obj = cfbp.CheckForBalancedParentheses()
if obj.CheckForBalancedParentheses("((()))"):
print("Yes")
else:
print("No")
3. Contact for updates
Harsh Chaplot: 17bit026@nirmauni.ac.in
Kandarp Kakkad: 17bit034@nirmauni.ac.in
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
basic-algo-0.1.3.tar.gz
(20.4 kB
view details)
Built Distribution
File details
Details for the file basic-algo-0.1.3.tar.gz
.
File metadata
- Download URL: basic-algo-0.1.3.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a21397d7777a02ef65c2af21830a1b908a395c48a38220ec5a15dcc36ad36da5 |
|
MD5 | 561c39c7399ce0a0e3a77f2d13ad70a5 |
|
BLAKE2b-256 | 315392c7b525581cb1e0563589a6a550cb956ed864a798afac2e043102cd777e |
File details
Details for the file basic_algo-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: basic_algo-0.1.3-py3-none-any.whl
- Upload date:
- Size: 32.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a970b1211f7842c7abfea23386f93e482598c815d0f33c5de99c647eac0a6d2 |
|
MD5 | db4dd44c7a77a3bf08cf5ba9de0a278b |
|
BLAKE2b-256 | 7cc9bff1ff5e369c89b69eefe31037e4f84e9b50829f07cbe4f5b0c979f9d451 |