r/programming • • Aug 09 '26

Hungarian Assignment Algorithm: Applied Optimal Transport for Programmers

https://leetarxiv.substack.com/p/hungarian-assignment-algorithm
38 Upvotes

16 comments sorted by

View all comments

Show parent comment

4

u/onthefence928 Aug 10 '26

If you are only operating in trivial values of N then there’s usually no really no point in evaluating the algorithm complexity, just implement one that works and move on.

If performance does matter it’s usually because n is outside the range where complexity doesn’t matter so much