1718 Commits

Author SHA1 Message Date
002b10a5aa docs: fix typos (#1283)
* docs: fix typos

* fix
2023-02-07 22:20:28 +05:30
8cd86b1eda chore(deps): bump json5 from 1.0.1 to 1.0.2 (#1274)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-08 19:17:15 +05:30
7ea7d7b8c6 docs: improve the issue forms (#1272) 2022-12-19 21:38:51 +05:30
cb4c40e95c docs: improve the contributing guidelines (#1271) 2022-12-18 15:50:06 +05:30
b36b45888e docs: fix CI and remove LGTM badges (#1269)
* Updated Documentation in README.md

* docs: fix CI and remove LGTM badges

LGTM is no longer a supported service and has been integrated with GitHub (which is now CodeQL).
We can create a CodeQL workflow and integrate it into the repository, however, that fits for another PR.

The shields badge API was updated, thus, causing an invalid badge: https://github.com/badges/shields/issues/8671

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2022-12-17 11:52:15 +05:30
65cceae0be algorithm: signum (#1266) 2022-12-08 18:57:42 +05:30
f954fb1ff7 Update README.md (#1268) 2022-12-08 18:56:10 +05:30
18a91573c3 Added a new Maths algorithm to determine if two non-null integers are "friendly numbers" (#1267) 2022-11-30 16:51:08 +05:30
d6be3a4e96 algorithm: Hexagonal number (#1265) 2022-11-30 16:50:38 +05:30
71d3d4470f tests: improve for GeneratePermutations (#1263) 2022-11-13 23:11:54 +05:30
9d4adbb0b3 docs: add new issue templates (#1206)
* Adding new issue template

* Adding bug issue template

* Adding feature request template

* Removing feature request template and adding comments

* Converting bug template to yaml

* Adding new feature request template

* CR changes part 1

* CR changes part 2

* CR changes part 3

* CR changes part 4

* CR changes part 5

* Removing specifications section
2022-11-06 10:33:11 -06:00
640abcf468 fix: exchanging wrong path that breaks pipeline (#1262) 2022-11-02 13:54:05 +01:00
00a97d5e1b algorithm: percentage of letter (#1261) 2022-11-01 09:15:02 +05:30
5668e64b29 algorithm: unique paths 2 (#1257)
* algorithm: add UniquePaths2 algo and a test for it

* fix: fix inaccuracies and spelling errors
2022-10-31 22:37:26 +05:30
c39d6665ce algorithm: logarithmic square root (#1259)
* algorithm: add SquareRootLogarithmic algo and a test for it

* fix: fix spelling errors

* refactor: rename a variable "e" --> "edge"
2022-10-31 22:20:33 +05:30
35e1fe68d0 algorithm: add IntToBase algo and a test for it (#1258) 2022-10-31 22:19:14 +05:30
7fb121508d algorithm: ZFunction (#1239)
* algorithm: ZFunction

* made requested changes

* corrected spelling mistakes

* made requested changes
2022-10-31 22:12:06 +05:30
cc0700f122 conversion: liters to imperial gallons (#1256)
* Added liters to imperial gallons conversion

* Fixed documentation @see

* Pr suggestion
2022-10-31 22:11:29 +05:30
863185d2b4 algorithm class: pyramid (#1254)
* Added pyramid

* Removed * 1

* Change class name
2022-10-31 22:10:36 +05:30
014a38b2d4 algorithm: volume of sphere (#1249)
* Added sphere volume

* Fixed indentation

* Added PR Suggestions
2022-10-31 22:09:41 +05:30
b634aa581c conversion: liters to US gallons (#1255) 2022-10-31 22:07:48 +05:30
8cbaf2e299 convertion: ounce to kilogram (#1248)
* Added ounces to kilograms convertion

* Added PR suggestions

* changed to export default
2022-10-31 22:05:58 +05:30
7256e5313f algorithm class: circle (#1252) 2022-10-31 21:32:35 +05:30
f1ef64cc2d algorithm class: cone (#1253) 2022-10-31 21:31:20 +05:30
c5101e3e2b chore: add reverse to singly linked list (#1241)
* Fix: Reverse Singly Linked List

* Added reverse in SinglyLinkedList

* Added reverse in SinglyLinkedList

* Changes made
2022-10-30 14:46:56 +05:30
b88128dd97 algorithm: LCA by binary lifting (#1237)
* algorithm: LCA by binary lifting

* removed trailing spaces

* reduced code duplication by importing code from other file

* made requested changes
2022-10-30 14:42:40 +05:30
0fab492ceb fix: Project Euler P35 off-by-one error (#1238)
* fix: Project Euler P35 off-by-one error

* Updated Documentation in README.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2022-10-28 22:21:54 +05:30
5364a1c31b chore: check for invalid input to factorial (#1229) 2022-10-27 20:45:53 +02:00
d9d085faa7 algorithm: binary lifting (#1218)
* Algorithm: BinaryLifting

* Update BinaryLifting.js

* made the requested changes

* added more comments
2022-10-27 19:26:13 +05:30
945657a98f chore: use internal queue definition in BFS Shortest Path (#1230) 2022-10-27 18:45:33 +05:30
b24f1f61cb chore: use internal queue definition in BFS (#1228) 2022-10-27 11:41:39 +05:30
0529e19426 solution: Project Euler 35 (#1201)
* [CREATE] Problem 28 solution for Project Euler

* [UPDATE] Added an explanation for the formula used in the algorithm

* [CREATE] Added Problem 35 for Project-Euler

* [UPDATE] Little typo in the error string

* [UPDATE] Some algorithm changes

* [UPDATE] Fix test string

* [UPDATE] Change prime numbers generator to import a standard sieve
algorithm.

* [UPDATE] Change sieve algorithm implementation and now the solution
works well. Also added some optimizations
2022-10-24 17:30:33 +05:30
72ee63ca0f fix: build error due to FindLcm (#1223)
Co-authored-by: patrickwestervelt <pwestervelt3@gatech.edu>
2022-10-24 17:24:45 +05:30
8c27d86afc enhancement: FindLCM algorithm (#1222)
Co-authored-by: patrickwestervelt <pwestervelt3@gatech.edu>
2022-10-23 12:49:19 +05:30
63a3394d95 algorithm: letter combinations (#1209) 2022-10-21 16:54:37 +05:30
ce9e2946be algorithm: kosaraju (#1215)
* kosaraju test added

* Fixes: #1214

* Fixes: #1214

* Update package-lock.json

* Kosaraju.js exports function kosaraju rather than class
2022-10-20 20:35:24 +05:30
6f9a8e4b5a added-ModularArithmetic-code (#1217)
* added-ModularArithmetic-code

* fix-typo

* suggested changes
2022-10-20 20:33:06 +05:30
cf482c4eef fix typo in FenwickTree.js (#1208) 2022-10-20 20:30:43 +05:30
21d73b6447 algorithm: unique paths (#1211)
* dp problem

* update Directory.md

* suggested changes
2022-10-20 20:29:36 +05:30
16fa774012 chore: only test changed packages (#1194) 2022-10-20 15:59:09 +02:00
73bf91d7e1 Add an algorithm to find Taylor series approximation of exponential f… (#1160) 2022-10-20 17:10:22 +05:30
58671861a5 algorithm: SegmentTree (#1178) 2022-10-20 17:09:37 +05:30
636017ca51 algorithm: reverse (#1197) 2022-10-20 17:08:56 +05:30
b07529fb6f tests: Project Euler Problem 3 (#1207) 2022-10-20 17:05:30 +05:30
0084acf2d4 algorithm: sieve (#1205) 2022-10-20 16:50:37 +05:30
55f502e1f1 algorithm: count letters (#1164) 2022-10-19 16:52:27 +05:30
ff606a019e chore: improve the Gitpod file (#1203)
* chore: improve the Gitpod file

* Updated Documentation in README.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2022-10-17 16:56:18 -05:00
8b5d006c9b chore: update Discord invite link (#1202) 2022-10-17 19:26:25 +02:00
e65211299b feature: add fast fibonacci algorithm (#1155) 2022-10-17 01:54:44 +05:30
829d3fd807 solution: Project Euler Problem 28 (#1198) 2022-10-17 01:54:11 +05:30