Skip to main content

Using basic algorithms via c++

Project description

# 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

BasicAlgo-0.0.1.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

BasicAlgo-0.0.1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file BasicAlgo-0.0.1.tar.gz.

File metadata

  • Download URL: BasicAlgo-0.0.1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for BasicAlgo-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9f081bbf5c0fd8a916a3bc6e54e44e0b9eb57fffa4ed83ee78c4b1d79f699202
MD5 d9b70bce7b9e338a51d026e8adfbd773
BLAKE2b-256 52fac5f91f73050447f3acac2d28b0f354a373cfb87f5b726f660067b09fd216

See more details on using hashes here.

File details

Details for the file BasicAlgo-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: BasicAlgo-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for BasicAlgo-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d4fe8df795e2fa920a144acab981752719b89b340d25cb3a88fd0d8db3de12b
MD5 9fe774cfa2765b06fe4ccf1751cfd739
BLAKE2b-256 65a85aada206f83405ecf5c11d40f25bbe5ea7010f996700a94711b49f12ca3e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page