Oleksii Trekhleb
477f30b0bd
Fix markup.
2020-10-05 22:26:24 +03:00
Loïc TRUCHOT
d6b8dd394a
Chore(math-translation-FR-fr): a pack of translations for the math section ( #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
2020-10-05 22:13:47 +03:00
Oleksii Trekhleb
07bc4a4b97
Add more test cases for countSetBits().
2020-08-21 07:29:58 +02:00
Alexey Onikov
be185ac9af
Fix infinity loop with negative numbers ( #502 )
...
* Update countSetBits.js
* Update countSetBits.test.js
2020-08-21 07:21:20 +02:00
Oleksii Trekhleb
63f5a27152
Upgrade dependencies and fix ESLint issues.
2020-07-26 13:06:15 +02:00
Oleksii Trekhleb
dc1047df72
Upgrade dependencies to latest versions. ( #367 )
2019-06-25 06:56:44 +02:00
arnold
d18dcd2e42
fix README.md ( #333 )
2019-04-12 08:36:11 +03:00
Oleksii Trekhleb
5c12f45ddc
Minor typo fix.
2019-04-02 21:57:00 -07:00
Oleksii Trekhleb
b1c36a85cf
Minor typo fix.
2019-04-02 21:55:48 -07:00
Sergii Tkachenko
97e4f5fe2a
Add Full Adder algorithm (math/bits) ( #334 )
...
* Add Full Adder algorithm (math/bits)
* Full adder: minor spelling fixes
* Full adder: even better comments
2019-04-03 07:42:16 +03:00
Oleksii Trekhleb
339ae02977
Add square root finding algorithm.
2019-03-23 13:44:24 +02:00
Oleksii Trekhleb
3064a7906b
Add links to zh-CN version of Factorial.
2018-12-28 16:35:54 +02:00
RequireSun
af77d1adc1
Create README.zh-CN.md ( #267 )
2018-12-28 16:33:25 +02:00
Oleksii Trekhleb
2451db975d
Add iterative version of Euclidean algorithm.
2018-09-18 08:17:47 +03:00
Vamshi Bachaneboina
c00c689255
Update euclideanAlgorithm.js ( #207 )
...
Method 2 is easy to evaluate or understand without using recursion stack!
2018-09-18 08:04:56 +03:00
Oleksii Trekhleb
51d67e7eac
Add fibonacci Binet's formula.
2018-09-15 09:17:19 +03:00
Karlo Vrbić
a23400380d
Add fibonnaci sequence closed form function ( #130 )
...
* Add fibonnaci sequence closed form function
* Revert package-lock.json
2018-09-14 18:01:41 +03:00
Oleksii Trekhleb
dea368cb16
Add more fibonacci test cases.
2018-09-14 17:56:38 +03:00
Oleksii Trekhleb
92b9e6ad1d
Add more tests to isPositive() bitwise function.
2018-09-14 08:06:48 +03:00
ADITYA
ab7755aad7
feat(bitwise): Function to check if a number is positive ( #204 )
2018-09-14 07:42:42 +03:00
Oleksii Trekhleb
de6a24e0d1
Minor code style fixes for bitwise multiplication.
2018-09-08 23:09:04 +03:00
ADITYA
bc8943dee2
Perform multiplication of any two integers positive or negative through bit manipulations ( #201 )
2018-09-08 22:51:03 +03:00
Oleksii Trekhleb
7dc60c96bf
Add Fast Powering algorithm.
2018-09-04 18:27:38 +03:00
Oleksii Trekhleb
8116aa7cfb
Refactor fast powering algorithm.
2018-09-04 17:35:48 +03:00
HatimLokhandwala
8676c1b9fe
Adding math algorithm to compute power and its tests ( #172 )
...
* Adding math algorithm to compute power and its tests
* adding more test cases, updating compute power js
* Updating ReadMe for power computation algorithm
2018-09-04 17:21:09 +03:00
Oleksii Trekhleb
b9d0d9ab38
Add isPowerOfTwo function.
2018-08-27 17:13:43 +03:00
Tapasweni Pathak
70b0e0a652
Add ifPowerOf2c ( #155 )
2018-08-27 16:59:43 +03:00
Oleksii Trekhleb
260f24b2cb
Update Bits Operations README.
2018-08-17 10:41:18 +03:00
Oleksii Trekhleb
ecfc287927
Update Bits Operations README.
2018-08-17 10:36:47 +03:00
Oleksii Trekhleb
6e63a0548e
Add Inverse Discrete Fourier Transform.
2018-08-16 13:14:40 +03:00
Oleksii Trekhleb
351a745f55
Refactor DFT and add common tests for Fourier.
2018-08-16 12:37:06 +03:00
Oleksii Trekhleb
13ed5061a3
Update FFT tests.
2018-08-15 17:47:32 +03:00
Oleksii Trekhleb
c2f7e49f07
Fix README for Fourier transform.
2018-08-15 13:40:16 +03:00
Oleksii Trekhleb
d736b2f355
Style fixes for FFT code.
2018-08-15 13:32:09 +03:00
Oleksii Trekhleb
ac9920a0f3
Style fixes for FFT code.
2018-08-15 13:27:50 +03:00
Oleksii Trekhleb
a88c45a329
Fix typos.
2018-08-15 13:00:04 +03:00
Oleksii Trekhleb
12d649e372
Implement Discrete Fourier Transform function.
2018-08-15 12:56:23 +03:00
Oleksii Trekhleb
53a0b6168d
Fix bug with converting complex number into polar form.
2018-08-15 12:55:35 +03:00
Oleksii Trekhleb
4bdac18ae0
Add polar form of complex number to README.
2018-08-14 23:19:30 +03:00
Oleksii Trekhleb
d0c4baf7b3
Add DFT.
2018-08-14 23:12:17 +03:00
Oleksii Trekhleb
8e66189eff
Update Fourier README.
2018-08-14 23:03:07 +03:00
Oleksii Trekhleb
e252eb631d
Add polar representation of complex numbers.
2018-08-14 22:56:13 +03:00
Oleksii Trekhleb
096d5a8b5b
Add Radian.
2018-08-14 22:31:13 +03:00
Oleksii Trekhleb
b3315966e5
Refactor complex numbers.
2018-08-14 21:30:57 +03:00
Oleksii Trekhleb
29fb0c7055
Rename variables.
2018-08-13 18:09:46 +03:00
Oleksii Trekhleb
8ea35a5549
Merge branch 'master' of https://github.com/trekhleb/javascript-algorithms into fourier
2018-08-13 18:08:07 +03:00
Oleksii Trekhleb
9111568fc0
Add bits counter function.
2018-08-13 18:06:48 +03:00
Oleksii Trekhleb
7d3115edaa
Use existing complex numbers implementation for Fourier.
2018-08-13 17:57:17 +03:00
Prateek Karnal
6f10b0e10f
Added Fast Fourier transform ( #135 )
...
* Added Fast fourier transform
* Adding DFT explanation
* Added tests for Fast Fourier transform
* Fixed some comments
2018-08-13 17:45:50 +03:00
Oleksii Trekhleb
3c37ba4424
Add bitsDiff function.
2018-08-13 11:02:58 +03:00