Skip to content

codejet9/Minimum-Cashflow-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Minimum Cashflow Calculator

  • 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).

Screenshot (826)

About

A web application that calculates minimum transactions and displays them

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published