Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Varun2012/javascript-algorithms
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: patch-1
Choose a base ref
...
head repository: trekhleb/javascript-algorithms
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Oct 5, 2020

  1. Chore(math-translation-FR-fr): a pack of translations for the math se…

    …ction (trekhleb#558)
    
    * chore(factorial): translation fr-FR
    
    * feat(math-translation-fr-FR): fast powering
    
    * feat(math-translation-fr-FR): fibonacci numbers
    
    * chore(math-translation-fr-FR): bits
    
    * chore(math-translation-fr-FR): complex number
    
    * chore(math-translation-fr-FR): euclidean algorithm
    
    * chore(math-translation-fr-FR): fibonacci number
    
    * chore(math-translation-fr-FR): fourier transform
    
    * chore(math-translation-fr-FR): fourier transform WIP
    
    * chore(math-translation-fr-FR): fourier transform done
    
    * chore(math-translation-fr-FR): fourier transform in menu
    ltruchot authored Oct 5, 2020
    Copy the full SHA
    d6b8dd3 View commit details
  2. Fix markup.

    trekhleb committed Oct 5, 2020
    Copy the full SHA
    477f30b View commit details

Commits on Nov 2, 2020

  1. Create README.tr-TR.md (trekhleb#574)

    Added Turkish language of README.md
    AykutSarac authored Nov 2, 2020
    Copy the full SHA
    826055e View commit details
  2. Copy the full SHA
    ed52a80 View commit details

Commits on Nov 28, 2020

  1. Copy the full SHA
    83978e9 View commit details
  2. Copy the full SHA
    2c74ced View commit details

Commits on Dec 4, 2020

  1. Update Backers.

    trekhleb committed Dec 4, 2020
    Copy the full SHA
    83251df View commit details
  2. Update Backers.

    trekhleb committed Dec 4, 2020
    Copy the full SHA
    fc1c2d8 View commit details
  3. Update Backers.

    trekhleb committed Dec 4, 2020
    Copy the full SHA
    63eebef View commit details
  4. Update Backers.

    trekhleb committed Dec 4, 2020
    Copy the full SHA
    922b3ae View commit details
  5. Update Backers.

    trekhleb committed Dec 4, 2020
    Copy the full SHA
    7155cfe View commit details
  6. Update Backers.

    trekhleb committed Dec 4, 2020
    Copy the full SHA
    e5baba4 View commit details
  7. Update Backers.

    trekhleb committed Dec 4, 2020
    Copy the full SHA
    c15e2ca View commit details
  8. Update Backers.

    trekhleb committed Dec 4, 2020
    Copy the full SHA
    47b4b68 View commit details
  9. Update Backers.

    trekhleb committed Dec 4, 2020
    Copy the full SHA
    f1de657 View commit details
  10. Update Backers.

    trekhleb committed Dec 4, 2020
    Copy the full SHA
    2c695b5 View commit details
  11. Update Backers.

    trekhleb committed Dec 4, 2020
    Copy the full SHA
    c919122 View commit details
  12. Upgrade packages.

    trekhleb committed Dec 4, 2020
    Copy the full SHA
    db5902a View commit details
  13. Use node 14 in Travis.

    trekhleb committed Dec 4, 2020
    Copy the full SHA
    5eb91eb View commit details
  14. Copy the full SHA
    89a1759 View commit details
  15. Copy the full SHA
    fb079d3 View commit details
  16. Use one os for Travis.

    trekhleb committed Dec 4, 2020
    Copy the full SHA
    7b7d8d5 View commit details
  17. Use osx for Travis.

    trekhleb committed Dec 4, 2020
    Copy the full SHA
    0c566a6 View commit details

Commits on Dec 8, 2020

  1. Add Horner's Method (trekhleb#575)

    * Add Horner's Method
    
    * Update README.md
    
    Co-authored-by: matheus <matheus.cardoso@sydle.com>
    MatheusBonavite and matheus authored Dec 8, 2020
    Copy the full SHA
    fb6a1fa View commit details
  2. Copy the full SHA
    21400e3 View commit details
  3. Copy the full SHA
    9751670 View commit details

Commits on Dec 9, 2020

  1. set Data Structure to "Estrutura de Dados" (trekhleb#547)

    set Data Structure to "Estrutura de Dados".
    
    Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
    RodrigoStuani and trekhleb authored Dec 9, 2020
    Copy the full SHA
    2ec7fe2 View commit details
  2. Copy the full SHA
    ebd6ffd View commit details
  3. Fix typo in comment (trekhleb#540)

    Address issue trekhleb#528
    xiaomingfu authored Dec 9, 2020
    Copy the full SHA
    8a12653 View commit details
  4. Copy the full SHA
    87b5b2b View commit details
  5. Add README in Russian.

    trekhleb committed Dec 9, 2020
    Copy the full SHA
    e55dc80 View commit details
  6. Add README in Russian.

    trekhleb committed Dec 9, 2020
    Copy the full SHA
    1bfbf1e View commit details
  7. Italian Implementation (trekhleb#432)

    * translating README to italian, middle phase
    
    * test
    
    * test grafica
    
    * finish
    
    * review
    
    Co-authored-by: Riccardo Amadio <riccardoamadio@MacBook-Pro-di-Riccardo.local>
    rokity and Riccardo Amadio authored Dec 9, 2020
    Copy the full SHA
    7608151 View commit details
  8. Add README in Italian.

    trekhleb committed Dec 9, 2020
    Copy the full SHA
    ea8234b View commit details

Commits on Dec 10, 2020

  1. fix: fix playground part translate error (trekhleb#587)

    Co-authored-by: linkun.he <helinkun@ithinkdt.com>
    deepthan and linkun.he authored Dec 10, 2020
    Copy the full SHA
    bbe0462 View commit details
  2. Repeated Math operation (trekhleb#584)

    Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
    vladimirschneider and trekhleb authored Dec 10, 2020
    Copy the full SHA
    498ab10 View commit details
  3. Copy the full SHA
    827906c View commit details

Commits on Dec 11, 2020

  1. Copy the full SHA
    30ef6a3 View commit details
  2. Copy the full SHA
    97dd96a View commit details
  3. Copy the full SHA
    6e95b0c View commit details
  4. Fix typo (trekhleb#459)

    jougene authored Dec 11, 2020
    Copy the full SHA
    c3d2295 View commit details
  5. Modify HashTable (trekhleb#447)

    Add a getValues() method to the HashTable data structure
    JD Medina authored Dec 11, 2020
    Copy the full SHA
    46daaf5 View commit details
  6. Copy the full SHA
    1b0e27a View commit details

Commits on Dec 15, 2020

  1. Add GitHub workflow.

    trekhleb committed Dec 15, 2020
    Copy the full SHA
    4094242 View commit details
  2. Delete Travis yml.

    trekhleb committed Dec 15, 2020
    Copy the full SHA
    ead275d View commit details
  3. Copy the full SHA
    39a5fa5 View commit details
  4. Copy the full SHA
    d470fa1 View commit details
  5. Copy the full SHA
    94afab0 View commit details
  6. Copy the full SHA
    ae22574 View commit details
  7. Creating a explanation of Bubblesort in portuguese (trekhleb#423)

    Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
    viniciuslacerda0 and trekhleb authored Dec 15, 2020
    Copy the full SHA
    82cf0e6 View commit details
Showing 313 changed files with 27,910 additions and 8,342 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# @see: https://editorconfig.org/
root = true

[*]
@@ -6,3 +7,5 @@ insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
quote_type = single
6 changes: 6 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -11,5 +11,11 @@
"class-methods-use-this": "off",
"arrow-body-style": "off",
"no-loop-func": "off"
},
"ignorePatterns": ["*.md", "*.png", "*.jpeg", "*.jpg"],
"settings": {
"react": {
"version": "18.2.0"
}
}
}
35 changes: 35 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x ]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm i

- name: Run linting
run: npm run lint

- name: Run tests
run: npm run coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run lint
# npm run test
5 changes: 0 additions & 5 deletions .huskyrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16.15.0
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

49 changes: 47 additions & 2 deletions BACKERS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,48 @@
# Sponsors & Backers
# Project Backers

Work on this document is in progress...
> You may support this project via ❤️️ [GitHub](https://github.com/sponsors/trekhleb) or ❤️️ [Patreon](https://www.patreon.com/trekhleb).
## `O(2ⁿ)` Backers

`null`

## `O(n²)` Backers

`null`

## `O(n×log(n))` Backers

`null`

<!--
<table>
<tr>
<td align="center">
<a href="[PROFILE_URL]">
<img
src="[PROFILE_IMG_SRC]"
width="50"
height="50"
/>
</a>
<br />
<a href="[PROFILE_URL]">[PROFILE_NAME]</a>
</td>
</tr>
</table>
-->

<!--
<ul>
<li>
<a href="[PROFILE_URL]">
<img
src="[PROFILE_IMG_SRC]"
width="30"
height="30"
/></a>
&thinsp;
<a href="[PROFILE_URL]">[PROFILE_NAME]</a>
</li>
</ul>
-->
Loading