Skip to main content

# BasicAlgo

## 1. Introduction

This library is intended to the users who want to use basic algorithms from c++ into 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. LRU cache 16. Largest rectangle in histogram 17. Reverse words in string 18. Longest Common prefix 19. Rabin Karp 20. Prefix function / Z-function 21. KMP Algorithm 22. Binary tree, traversals and views 23. Height of binary tree 24. LCA in binary tree 25. Maximum sum path 26. Binary tree from inorder and preorder 27. Binary tree from inorder and postorder 28. BST - insertion, deletion and search 29. LCA in BST 30. Floor and Ceil in BST 31. Kth smallest and Kth largest number in BST 32. Flood-fill Algorithm 33. DFS 34. BFS 35. Detect a cycle in Graph 36. Topological Sort. 37. Number of islands 38. Kosaraju’s Algorithm 39. Dijkstra’s Algorithm 40. Bellman Ford Algorithm 41. Floyd Warshall Algorithm 42. MST using Prim’s Algorithm 43. MST using Kruskal’s Algorithm 44. Max product subarray 45. Longest increasing subsequence 46. Longest common subsequence 47. 0/1 Knapsack Problem 48. Coin Change 49. Subset sum 50. Egg dropping 51. Palindrome partitioning

Release files for BasicAlgo 0.0.1

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

Source distribution (sdist)

Source distribution for BasicAlgo 0.0.1
File Size Uploaded
BasicAlgo-0.0.1.tar.gz 6.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for BasicAlgo 0.0.1
File Interpreter ABI Platform
BasicAlgo-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 19.0 kB

Release files / BasicAlgo-0.0.1.tar.gz

Download URL BasicAlgo-0.0.1.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9f081bbf5c0fd8a916a3bc6e54e44e0b9eb57fffa4ed83ee78c4b1d79f699202
BLAKE2b-256 checksum
How to use checksums
52fac5f91f73050447f3acac2d28b0f354a373cfb87f5b726f660067b09fd216
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

Release files / BasicAlgo-0.0.1-py3-none-any.whl

Download URL BasicAlgo-0.0.1-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d4fe8df795e2fa920a144acab981752719b89b340d25cb3a88fd0d8db3de12b
BLAKE2b-256 checksum
How to use checksums
65a85aada206f83405ecf5c11d40f25bbe5ea7010f996700a94711b49f12ca3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

Release history Release notifications | RSS feed

This release

0.0.1 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