javascript-problems-and-solutions icon indicating copy to clipboard operation
javascript-problems-and-solutions copied to clipboard

:trident: A collection of JavaScript problems and solutions for studying algorithms.

Results 12 javascript-problems-and-solutions issues
Sort by recently updated
recently updated
newest added
trafficstars

fix logic for swapping elements

It seems the problem of the version of babel-xxx. But I just can solve it, maybe who can help me 😂, thx. ```shell npm run mocha ``` error output: ```shell...

Line number 28 on longest-palindromic-subsequence.js Expected: for (let i = 0; i < n - i + 1; i++) { Actual: for (let i = 0; i < n -...

![rainwatertrap](https://user-images.githubusercontent.com/565300/36057813-8a5c75a2-0dc8-11e8-8870-c9b965a9ccac.png) ![island](https://user-images.githubusercontent.com/565300/41206699-ef866c78-6cbc-11e8-8b3a-1e52c8a0baf7.png) ![skyline1](https://user-images.githubusercontent.com/565300/41813528-8be85200-76ec-11e8-86c0-1a94eee8e86a.jpg) ![skyline2](https://user-images.githubusercontent.com/565300/41815136-3627f1fc-7716-11e8-9314-16ee383e3967.jpg) ![largest-triangle-area](https://user-images.githubusercontent.com/565300/42524905-af6f4e1c-8426-11e8-90e5-f2b3ad77e8f5.png) ![multiply-strings](https://user-images.githubusercontent.com/565300/45391126-c5be1e00-b5d6-11e8-954c-74da7f84ae0f.jpg) ![rainwater_empty](https://user-images.githubusercontent.com/565300/47273720-436a3780-d54e-11e8-9e0c-207818f33d81.png) ![rainwater_fill](https://user-images.githubusercontent.com/565300/47273722-45cc9180-d54e-11e8-9d96-90e9de117180.png)

![cover](https://user-images.githubusercontent.com/565300/33303581-c55a1280-d3b8-11e7-8e78-6879731416f1.png)

Bumps [cacheable-request](https://github.com/jaredwray/cacheable-request) to 10.2.7 and updates ancestor dependency [release-it](https://github.com/release-it/release-it). These dependencies need to be updated together. Updates `cacheable-request` from 2.1.4 to 10.2.7 Release notes Sourced from cacheable-request's releases. v10.2.6 Fix...

dependencies

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) to 4.1.1 and updates ancestor dependency [release-it](https://github.com/release-it/release-it). These dependencies need to be updated together. Updates `http-cache-semantics` from 3.8.1 to 4.1.1 Commits See full diff in compare view Updates...

dependencies

Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...

dependencies