trekhleb / javascript-algorithms

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings
MIT License
186.86k stars 30.09k forks source link

Luhn algorithm #232

Open dumindarw opened 5 years ago

dumindarw commented 5 years ago

I would like to add Luhn algorithm(https://en.wikipedia.org/wiki/Luhn_algorithm) to "src/algorithms/uncategorized/" is it ok for you?

leeoniya commented 5 years ago

here's a cute one, FYI: https://gist.github.com/ShirtlessKirk/2134376

bigtone1284 commented 5 years ago

@trekhleb @dumindarw @leeoniya

https://github.com/trekhleb/javascript-algorithms/pull/368

I added this PR in response to this open issue. Please review it when you can! Thanks.