An open API service providing commit metadata for open source projects.

GitHub / TheAlgorithms/JavaScript / commits

Algorithms and Data Structures implemented in JavaScript for beginners, following best practices.

SHA Message Author Date Stats
02041984 feat: remove `twinPrime` (#1641) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
almost 2 years ago
4a4ed57d refactor: use `isLeapYear` (#1638) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
almost 2 years ago
d8cfdcd8 chore: use `check-style` in (#1630) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
almost 2 years ago
f13eec1b fix: properly floor the partial results (#1629) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
almost 2 years ago
2fe0dfde fix: `throw` form `DateToDay` (#1628) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
almost 2 years ago
83b4dd82 fix: cleanup `CheckKishnamurthyNumber` (#1626) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
almost 2 years ago
894a46ca fix: throw error instead of returning it `RailwayTimeConversion` (#1625) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
almost 2 years ago
8734dfcc fix: handle zeros in `CoPrimeCheck` (#1622) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
almost 2 years ago
a5945e37 fix: throw error instead of returning it (#1624) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
almost 2 years ago
c067a34f fix: `GetEuclidGCD(0, 0)` is `0` (#1621) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
almost 2 years ago
0e0cf98c fix: cleanup `CoPrimeCheck` (#1609) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
almost 2 years ago
fb0a99c1 fix: throw error and add tests for `ReverseNumber` (#1608) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
almost 2 years ago
1ea7a5cd test: add missing test for `SumOfGeometricProgression` (#1607) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
almost 2 years ago
10febce3 style: cleanup `PascalTriangle` (#1606) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
about 2 years ago
f3134981 tests: add tests for `SHA256` (#1604) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
about 2 years ago
6aaa3765 tests: add tests for `SHA1` (#1602)
Co-authored-by: appgurueu <3****u@u****m>, appgurueu <3****u@u****m>
Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
about 2 years ago
cf000419 docs: add codecov badge (#1600) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
about 2 years ago
1d634008 chore: add `UploadCoverageReport.yml` (#1599) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
about 2 years ago
0e5cf5e8 tests: add missing test for `KnightTour` (#1598) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
about 2 years ago
069803f2 style: remove trailing spaces (#1597) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
about 2 years ago
83eb73b2 chore: update `actions/checkout` to `v4` (#1595) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
about 2 years ago
f0cfa855 chore: update `actions/setup-node` to `v4` (#1596) Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
about 2 years ago
203b7a0a Properly evaluate `GITHUB_ACTOR` (#1594)
Co-authored-by: vil02 <v****2@u****m>
Piotr Idzik <6****2@u****m>
Committed by: GitHub <n****y@g****m>
about 2 years ago
5a7e8d13 implemented CycleDetectionII code in LinkedList (#1482)
Co-authored-by: Lars Mueller <a****s@g****e>
Akshay Chavan <1****c@u****m>
Committed by: GitHub <n****y@g****m>
about 2 years ago
1b66d86b Implemented Palindrome Partitioning using Backtracking algorithm (#1591)
Co-authored-by: Lars Müller <3****u@u****m>
Nobert Patrick Ayesiga <a****t@g****m>
Committed by: GitHub <n****y@g****m>
about 2 years ago
39d01138 Abbreviation (#1547) Rob Simpson <r****2@m****m>
Committed by: GitHub <n****y@g****m>
about 2 years ago
e9e3ea46 Implemented Partition Problem, Recursive problem (#1582)
Co-authored-by: github-actions <$****}@u****m>, Lars Müller <3****u@u****m>
Vedas Dixit <1****t@u****m>
Committed by: GitHub <n****y@g****m>
about 2 years ago
a044c574 docs: Update script usage in CONTRIBUTING.md (#1587) Elias Afara <a****s@g****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
cafb3433 Update AllCombinationsOfSizeK.js (#1530) Rahul Bhandari <9****b@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
1cc5e61f Update Problem001.js (#1536) Rahul Bhandari <9****b@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
e5af4c24 Enhance readability of ZeroOneKnapsack.js (#1574)
Co-authored-by: Lars Müller <3****u@u****m>
Hardik Pawar <9****n@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
d74f242a Rabin Karp Search Algorithm (#1545)
Co-authored-by: Lars Müller <3****u@u****m>, github-actions <$****}@u****m>
Mahfoudh Arous <m****s@g****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
889d9c36 feat: Added MD5 hashing algorithm (#1519) Manpreet Singh <6****4@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
0b9fad86 fix: CI code style checking Lars Mueller <a****s@g****e>
Committed by: Rak Laptudirm <r****k@l****m>
over 2 years ago
28c27d94 chore: format using prettier Lars Mueller <a****s@g****e>
Committed by: Rak Laptudirm <r****k@l****m>
over 2 years ago
aebd52f3 chore: update readme github-actions <$****}@u****m>
Committed by: Rak Laptudirm <r****k@l****m>
over 2 years ago
d671327e feat: added find subsets algorithm using bitmanipulation (#1514) Nikunj Bisht <5****t@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
f67cdc3c Test cases project euler 6 (#1570)
Co-authored-by: Omkarnath Parida <o****a@y****n>, github-actions <$****}@u****m>
Omkarnath Parida <p****8@g****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
9c07bb11 Test cases project euler 9 (#1571)
Co-authored-by: Omkarnath Parida <o****a@y****n>, github-actions <$****}@u****m>
Omkarnath Parida <p****8@g****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
9a875264 prettier fixes & added test cases for Project Euler problem 4 (#1566)
Co-authored-by: Omkarnath Parida <o****a@y****n>
Omkarnath Parida <p****8@g****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
fb134b10 Implemented M Coloring Problem (#1562)
Co-authored-by: github-actions <$****}@u****m>, Lars Müller <3****u@u****m>
Vedas Dixit <1****t@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
7d7f109e Enhance readability of KnightTour (#1572) Hardik Pawar <9****n@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
60443c7e test: add tests for Binary Equivalent Algorithm (#1560)
Co-authored-by: {Harshit Malpotra} <{****t@g****}>, Lars Müller <3****u@u****m>
malpotra <5****a@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
0315c8a5 docs: fix typo in rotateRight's docstring (#1527) Manpreet Singh <6****4@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
ad0bde6d Update Problem006.js (#1537) Rahul Bhandari <9****b@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
46362e3d chore: count set bits using bitwise ops (#1532)
Co-authored-by: Lars Müller <3****u@u****m>
Rahul Bhandari <9****b@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
628c5aeb chore: remove unnecessary code (#1531)
Co-authored-by: IcarusTheFly <I****y@u****m>
Omar Ferreiro <2****y@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
f77a970c updated BinaryHeap.test.js (#1520) maruf hasan <g****3@g****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
41000915 feat: add Automorphic Numbers and tests in Math (#1496) Pratik Tripathy <1****R@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
05e32481 chore: format code (#1515)
Co-authored-by: github-actions <$****}@u****m>
Lars Müller <3****u@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
ce86248b feat: add RGB to HSL color format conversion algorithm (#1475) Piyush Katyal <1****7@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
ca761d87 feat: add MergeTwoSortedLinkedLIsts algorithms (#1442) Nay Zaw Min Naing <n****g@g****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
3823eded feat: add row echelon matrix algorithm (#1454) Piyush Katyal <1****7@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
a24450a6 feat: add determinant algorithm (#1438)
Co-authored-by: Lars Müller <3****u@u****m>
Piyush Katyal <1****7@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
13161bda feat: Combined Min Heap and Max Heap classes (#1494)
Co-authored-by: Lars Müller <3****u@u****m>
Rohan <9****8@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
c5a25665 bug: abs returns 0 on an empty array (#1473)
Co-authored-by: Ridge Kimani <r****i@g****m>
Ridge Kimani <1****i@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
52858f8a feat: add algorithm to evaluate postfix string (#1441)
Co-authored-by: Lars Müller <3****u@u****m>
Gaurav Giri <6****i@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
05750bce chore: Add gitpod badge (#1466) Rohit Chaudhari <1****c@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
d7dc8523 feat: Key finder improvement (#1456)
Co-authored-by: IcarusTheFly <I****y@u****m>, github-actions <$****}@u****m>
Omar Ferreiro <2****y@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
f8ffacd4 feat: add Gray Code generation (#1425)
Co-authored-by: Lars Müller <3****u@u****m>
Harsh Dev Pathak <1****8@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
da0ee876 Fix a typo (#1453) ABHINESH KUMAR JHA <1****a@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
34238293 feat: Added Euclidean Distance (#1418)
Co-authored-by: Lars Müller <3****u@u****m>
Kausthub Kannan <k****1@g****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
96d122f2 fix: Enhance error handling in factorial function (#1430) YongEaziDev <5****3@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
1de5ab7d Feat: TwoSum function created with test cases (#1399) Ayush shah <s****0@g****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
86d333ee feat: Test running overhaul, switch to Prettier & reformat everything (#1407)
Co-authored-by: github-actions <$****}@u****m>, Lars Müller <3****u@u****m>
Roland Hummel <d****e@g****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
0ca18c2b fix: added reverse string inplace (#1406)
Co-authored-by: madhuredra <m****i@z****m>
Madhurendra Nath Tiwari <6****a@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
36dcff8c feat: New String Algorithm for LengthofLongestSubstringWithoutRepeati… (#1389)
Co-authored-by: Lars Müller <3****u@u****m>
P ABHIJIT <1****3@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
b7836122 fix: ValidateURL failing tests (#1394)
Co-authored-by: github-actions <$****}@u****m>
Roland Hummel <d****e@g****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
f271a2ca Added QuadraticRoots to Math/QuadraticRoots.js (#1376)
Co-authored-by: Dibya <D****h@s****m>, Lars Müller <3****u@u****m>
Dibya12345 <4****5@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
7ff3e5e4 test: skip test that's running way too long (#1393)
Co-authored-by: github-actions <$****}@u****m>
Roland Hummel <d****e@g****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
6291d4b6 feat: Add Length Conversion (#1390) Aakash Giri <g****0@g****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
0604d06a fix: Average Median code cleanup (#1388) Ayush shah <s****0@g****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
964ba049 fix: optimised armstrongNumber code (#1374) Ayush shah <s****0@g****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
394483bf added contributor graph to the readme (#1367)
Co-authored-by: madhuredra <m****i@z****m>
Madhurendra Nath Tiwari <6****a@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
6362cc96 added an algo for checking the string i palindrome or not (#1366)
Co-authored-by: madhuredra <m****i@z****m>
Madhurendra Nath Tiwari <6****a@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
f5188ddf added an algo which finds unique element in an array (#1359)
Co-authored-by: madhuredra <m****i@z****m>
Madhurendra Nath Tiwari <6****a@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
4fe8a67e added algo for checking the number is power of four or not (#1360)
Co-authored-by: madhuredra <m****i@z****m>
Madhurendra Nath Tiwari <6****a@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
6ad5b9c2 added numberOfDigitsUsingLog method (#1364)
Co-authored-by: madhuredra <m****i@z****m>
Madhurendra Nath Tiwari <6****a@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
268796b0 added fibonacci using formula along with test cases (#1358)
Co-authored-by: madhuredra <m****i@z****m>, Lars Müller <3****u@u****m>
Madhurendra Nath Tiwari <6****a@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
9757e2be fixed typo (#1363)
Co-authored-by: unknown <n****r@g****m>
Nikhil k <8****0@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
00e40e6f Fix/code smells (#1338)
Co-authored-by: github-actions <$****}@u****m>
Carlos Rafael <c****n@h****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
9b32db29 Update: Added Unary Operator in SumOfDigits algorithm (#1348) Chetan Nada <8****a@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
53b1f667 Project Euler 021 (#1347) Praneeth Jain <p****5@g****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
ecac786d Remove URL validation (#1335) 0-harshit-0 <h****b@g****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
6debd5c1 chore: 🤖 remove extra lines (#1330) Umesh Patidar <5****a@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
1666c3a0 fix error in SinglyLinkedList head method (#1322)
Co-authored-by: Bekzod <b****8@g****m>
BekzodIsakov <7****v@u****m>
Committed by: GitHub <n****y@g****m>
over 2 years ago
331a4d26 feat: Ciphers/MorseCode Algorithm (#1315) Arnold Zhou <1****0@u****m>
Committed by: GitHub <n****y@g****m>
almost 3 years ago
e6df6eba New Algorithm: Parity Outlier (#1314) Arnold Zhou <1****0@u****m>
Committed by: GitHub <n****y@g****m>
almost 3 years ago
84b01aeb fixed: to correct grammatical mistakes (#1307) Htin Zaw <1****z@u****m>
Committed by: GitHub <n****y@g****m>
almost 3 years ago
1381ed0c feat: add dutchNationalFlagSort implementation (#1305) Roman <1****n@l****u>
Committed by: GitHub <n****y@g****m>
almost 3 years ago
327e18f4 Elementary cellular automata (#1302) Jacoby Johnson <j****n@g****m>
Committed by: GitHub <n****y@g****m>
almost 3 years ago
fc066906 fixes: #1280 and test: added tests for DFS algorithm (#1303) Ranganathan7 <5****7@u****m>
Committed by: GitHub <n****y@g****m>
almost 3 years ago
566d9103 fix: refactor PrimMST and fix bug in PriorityQueue (#1300) paulinegarelli <7****i@u****m>
Committed by: GitHub <n****y@g****m>
almost 3 years ago
0c427580 Make ArbitraryBase Unicode-aware (#1299) lionel-rowe <l****e@g****m>
Committed by: GitHub <n****y@g****m>
almost 3 years ago
6aa3314b fix: fixed error in the MaxProductOfThree algorithm (#1295) Xolvez <9****z@u****m>
Committed by: GitHub <n****y@g****m>
almost 3 years ago
5ce828b3 feat: add maxConsecutiveOnes implementation (#1285) Andrea Tota <5****e@u****m>
Committed by: GitHub <n****y@g****m>
almost 3 years ago
55c18aef feat: add maxConsecutiveOnesIII implementation (#1286) Andrea Tota <5****e@u****m>
Committed by: GitHub <n****y@g****m>
almost 3 years ago
49bd1fd0 Adding to backtracking (#1289) Ramzi-Abidi <6****i@u****m>
Committed by: GitHub <n****y@g****m>
almost 3 years ago
c40e4cf4 Refactored code to improve performance of some methods (#1284) Teddy Mwai <7****i@u****m>
Committed by: GitHub <n****y@g****m>
about 3 years ago
c252df5d feat: add houseRobber implementation (#1282) Andrea Tota <5****e@u****m>
Committed by: GitHub <n****y@g****m>
about 3 years ago

← Back to repository