Skip to main content

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:

  1. Kadane's Algorithm
  2. Next permutation
  3. Longest consecutive sequence
  4. Fractional knapsack
  5. N-Queens
  6. Sudoku solving
  7. M colouring problem
  8. Print all permutations of a string
  9. Word break
  10. Palindrome partitioning
  11. Subset sum
  12. Kth permutation sequence
  13. Check for balanced parentheses
  14. Next greater element
  15. Largest rectangle in histogram
  16. Reverse words in string
  17. Longest Common prefix
  18. Rabin Karp
  19. Prefix function / Z-function
  20. KMP Algorithm
  21. Binary tree, traversals and views
  22. Height of binary tree
  23. LCA in binary tree
  24. Maximum sum path
  25. Binary tree from inorder and preorder
  26. Binary tree from inorder and postorder
  27. MST using Prim's Algorithm
  28. MST using Kruskal's Algorithm
  29. Max product subarray
  30. Longest increasing subsequence
  31. Longest common subsequence
  32. 0/1 Knapsack Problem
  33. Coin Change
  34. Subset sum
  35. Egg dropping
  36. 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

Release files for basic-algo 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for basic-algo 0.1.3
File Size Uploaded
basic-algo-0.1.3.tar.gz 20.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for basic-algo 0.1.3
File Interpreter ABI Platform
basic_algo-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 52.9 kB

Release files / basic-algo-0.1.3.tar.gz

Download URL basic-algo-0.1.3.tar.gz
Size 20.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a21397d7777a02ef65c2af21830a1b908a395c48a38220ec5a15dcc36ad36da5
BLAKE2b-256 checksum
How to use checksums
315392c7b525581cb1e0563589a6a550cb956ed864a798afac2e043102cd777e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / basic_algo-0.1.3-py3-none-any.whl

Download URL basic_algo-0.1.3-py3-none-any.whl
Size 32.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a970b1211f7842c7abfea23386f93e482598c815d0f33c5de99c647eac0a6d2
BLAKE2b-256 checksum
How to use checksums
7cc9bff1ff5e369c89b69eefe31037e4f84e9b50829f07cbe4f5b0c979f9d451
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page