- This web application takes transactions between persons as input and calculates new transactions between persons so that total number of transactions are minimised. It also generates and displays a graphical network showing all the transactions for easy understanding of the user.
- A Greedy algorithm is used to find all the transactions. The greedy algorithm is implemented using max Heaps.
- A max Heap is also implemented from scratch in javascript.
- The overall time complexity of the algorithm is
$O(n logn)$ . - vis.js is used to display the graphical network using an adjacency list containing the connection(edges/transactions) between nodes(persons).
-
Notifications
You must be signed in to change notification settings - Fork 0
codejet9/Minimum-Cashflow-Calculator
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A web application that calculates minimum transactions and displays them
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published