Commit Graph

1229 Commits

Author SHA1 Message Date
Roland Hummel
565ce68027 Update DIRECTORY.md (manually after a rebase) 2021-10-05 11:24:26 +02:00
Roland Hummel
7bb3c80f05 Fix URL creation in directory markdown 2021-10-05 11:23:47 +02:00
Roland Hummel
6fe322bd8a Add npm ci to directory-updating job, as well (so that we can utilize globby) 2021-10-05 11:23:47 +02:00
Roland Hummel
a69d9a8c49 Clean up and speed up UpdateDirectory.js
Uses globby to find all algorithm files. This is way quicker and less error-prone than the previous implementation. Plus, it allows us to fine-tune excludes (e.g. test files and the babel config).

This also removes the need for setTimeouts which greatly speeds up the whole thing.
2021-10-05 11:23:46 +02:00
Roland Hummel
460fd57c6b Test: Drop env.CI 2021-10-05 11:23:46 +02:00
Roland Hummel
f6396f4822 Don't cat the full DIRECTORY.md file in the github job 2021-10-05 11:23:46 +02:00
Roland Hummel
21d4096446 Another proposal: Clean up "update directory" job, as well
relates to ##720

Cleaned up and updated the job description file a bit. Instead of attempting to commit every single time, we check if the DIRECTORY file actually has changes first.
2021-10-05 11:23:46 +02:00
Roland Hummel
6f9b1f127f Proposal: Clean up CI job a bit
relates to #586 and #720

Added npm scripts for doctest and style checking via standard. This allows us to call those directly via npm and not via npx.

The CI job itself is now split into distinct steps (makes it more visible which step failed).
2021-10-05 11:23:45 +02:00
github-actions
90b04eadd4 updating DIRECTORY.md 2021-10-05 08:54:47 +00:00
Rak Laptudirm
73402d5140 chore: Merge pull request #733 from charliejmoore/upper-case-converstion-tests
Upper case conversion tests
2021-10-05 14:24:28 +05:30
Rak Laptudirm
d712bfd5a7 chore: Merge pull request #739 from keshav-bohr/spell-check
fixed some spellings
2021-10-05 14:21:47 +05:30
Keshav Bohra
e27bc0a702 resolved conflicts 2021-10-05 14:05:11 +05:30
Omkarnath Parida
17ac987863 Merge pull request #740 from keshav-bohr/issue-resolve
fixed the issue in Trie file and typo in sudoku
2021-10-05 13:46:49 +05:30
github-actions
82ad8c8ad4 updating DIRECTORY.md 2021-10-05 08:15:04 +00:00
Omkarnath Parida
8a11916452 Merge pull request #735 from charliejmoore/title-case-conversion-tests
Title case conversion tests
2021-10-05 13:44:44 +05:30
Keshav Bohra
1c22f65ce7 fixed the issue in Trie file and typo in sudoku 2021-10-05 12:53:38 +05:30
Rak Laptudirm
90b447c901 chore: Merge pull request #730 from ayazshah2/capitalize-first-letter
capitalize first letter
2021-10-05 12:51:32 +05:30
Rak Laptudirm
14034e29fe chore: add punctuation 2021-10-05 12:51:04 +05:30
Keshav Bohra
1589263947 fixed some spellings 2021-10-05 12:49:23 +05:30
Charlie Moore
ced6c891a6 Add tests for titleCaseConversion function 2021-10-04 12:23:05 -04:00
Charlie Moore
654c824fdd Add check to handle empty string input.
Could throw an error instead, but to be consistent with other case conversion functions in this collection, it returns an empty string when input is empty string.
2021-10-04 12:21:34 -04:00
Charlie Moore
184814745e Update description/documentation with explanation of title case, and simplifying assumptions this function makes 2021-10-04 09:56:32 -04:00
Charlie Moore
4ab047ddc5 Fix typos and add ASCII link 2021-10-04 09:53:19 -04:00
Charlie Moore
4ea13dee13 Update export style for Jest testing 2021-10-04 09:52:30 -04:00
Charlie Moore
90a59e6b60 Update function name casing to match convention 2021-10-04 09:52:10 -04:00
Charlie Moore
220e75d046 Fix standardjs warning 2021-10-04 09:44:28 -04:00
Charlie Moore
9aa890b170 Add tests for UpperCaseConversion 2021-10-04 09:37:15 -04:00
Charlie Moore
a4bde8200d Update capitalization style of function name to align with convention 2021-10-04 09:30:49 -04:00
Charlie Moore
a21264698e Update export for Jest testing 2021-10-04 09:30:17 -04:00
Charlie Moore
85f8154f07 Fix typos and update description to include a link 2021-10-04 09:28:55 -04:00
Omkarnath Parida
199d2637cc Update LongestPalindromicSubsequence.test.js 2021-10-04 17:39:26 +05:30
Dev
7a70ed789c capitalize first letter 2021-10-04 11:26:14 +04:00
Rak Laptudirm
877ce463c8 chore: add code protection 2021-10-04 12:23:50 +05:30
github-actions
c1b6fcaa78 updating DIRECTORY.md 2021-10-03 16:01:10 +00:00
Omkarnath Parida
b5167878c4 Merge pull request #714 from defaude/test/Backtracking/RatInAMaze
Rewrote "Rat in a maze" algorithm + added tests
2021-10-03 21:30:50 +05:30
Omkarnath Parida
b793105009 Update .gitignore 2021-10-03 21:29:55 +05:30
github-actions
085ee531cf updating DIRECTORY.md 2021-10-03 15:56:52 +00:00
Omkarnath Parida
94ff1e336f Merge pull request #713 from defaude/test/Backtracking/Sudoku
Add proper test to Backtracking/Sudoku
2021-10-03 21:26:35 +05:30
github-actions
177c4766e8 updating DIRECTORY.md 2021-10-03 15:55:09 +00:00
Omkarnath Parida
7f6a4e74a3 Merge pull request #724 from pomkarnath98/master
Added test cases for TrappingRainWater
2021-10-03 21:24:54 +05:30
Omkarnath Parida
e0c5d494ae Added space after comma 2021-10-03 21:20:53 +05:30
github-actions
46dbe906b5 updating DIRECTORY.md 2021-10-03 15:48:01 +00:00
Omkarnath Parida
5ed4227975 Merge pull request #722 from farha1/master
Add max word algorithm
2021-10-03 21:17:45 +05:30
Omkarnath Parida
63ceac0925 Added test cases for TrappingRainWater 2021-10-03 21:13:08 +05:30
github-actions
00c616debe updating DIRECTORY.md 2021-10-03 15:35:00 +00:00
Omkarnath Parida
57a6491000 Merge pull request #723 from pomkarnath98/master
Added test cases for LongestValidParentheses
2021-10-03 21:04:45 +05:30
Omkarnath Parida
db3caea70f Added test cases for LongestValidParentheses 2021-10-03 20:58:53 +05:30
github-actions
c2b3931391 updating DIRECTORY.md 2021-10-03 15:13:50 +00:00
Omkarnath Parida
fd420229bf Merge pull request #721 from pomkarnath98/master
Added test cases for LongestPalindromicSubsequence
2021-10-03 20:43:36 +05:30
farharamadhan2
30d437bff9 Add max word algorithm 2021-10-03 22:08:47 +07:00