Giter Club home page Giter Club logo

hungarian-algorithm's Introduction

Hungarian Algorithm:

Algorithm steps:
Wikipedia
Hungarian Algorithm

Given Input:

68	38	9	60	46	58	83	87	84	20	
53	4	16	4	44	72	34	97	69	5	
21	2	45	55	34	15	2	13	12	51	
8	93	22	66	25	9	59	71	12	95	
42	35	33	23	3	8	8	50	23	95	
74	37	15	21	36	49	80	55	79	53	
21	97	55	12	25	67	10	65	2	49	
8	48	1	92	8	76	41	32	87	36	
32	73	71	47	94	92	16	97	5	4	
58	37	54	52	84	16	34	5	72	26	

Output

Total time: 3ms

Row1 => Col3 (9)
Row2 => Col2 (4)
Row3 => Col7 (2)
Row4 => Col6 (9)
Row5 => Col5 (3)
Row6 => Col4 (21)
Row7 => Col9 (2)
Row8 => Col1 (8)
Row9 => Col10 (4)
Row10 => Col8 (5)

Total: 67

hungarian-algorithm's People

Contributors

amirbawab avatar edgecaseberg avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.