mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 16:26:47 +08:00

hexToBinary
function (#910)
* feat: used js object intead of switch * pref: optimzed the algo with regex & replace method * feat: add hex validation with test case * feat: add type validation * chore: fix grammar mistake * docs: add binLookup comments
merge: Bubble Sort enhancements for nearly sorted or sorted array, added test cases and documentation (#895)
The Algorithms - JavaScript
All algorithms implemented in JavaScript (for educational purposes only)
These are for demonstration purposes only. There are many implementations of sorts in the JavaScript standard library that are much better for performance reasons.
Contribution Guidelines
Read our Contribution Guidelines before you contribute.
List of Algorithms
See our directory.
Algorithm Explanation
See our wiki.
Description
Algorithms and Data Structures implemented in JavaScript for beginners, following best practices.
algorithmalgorithm-challengesalgorithmsalgorithms-implementedcipherconversionscryptographydata-structureshacktoberfestjavascriptmathematicssearchsortsorting-algorithms
Readme
GPL-3.0
142 MiB
Languages
JavaScript
100%