jhonDoe15 820f8e9c29 merge: Create firstRelativeMaxPointInArray.js (#772)
* Create first_relative_max_point_in_array.js

go over randomly generated array and print first spike or maximum point index in it
runs in O(log(n))

* rename file to match requested casing

* add comments

I prefer SOLID standards so that's why didn't add them at first but due to the repository requirements was needed to be added

* remove template unrelated comments

* Update equals check to match JavaScript standards

* create file skafolding and adjust filename to reflect main function

* using newer node version

* add tests

* add last line as empty line

* style changes

* move algorithm tests to test folder

* revert to old package lock file

* chore: add ending line feed

Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
2021-10-28 12:07:48 +05:30
2021-10-09 13:18:40 +02:00
2021-10-21 22:59:56 +05:30
2021-10-03 21:29:55 +05:30
2020-12-20 23:20:29 +05:30
2020-10-12 01:17:49 +05:30
2021-10-27 17:50:15 +00:00
2017-07-13 11:42:34 +05:30

The Algorithms - JavaScript

contributions welcome Language grade: JavaScript Node CI update_directory_md Discord chat standard.js

All algorithms implemented in JavaScript (for educational purposes only)

Open in Gitpod

These are for demonstration purposes only. There are many implementations of sorts in the JavaScript standard library that are much better for performance reasons.

Contribution Guidelines

Read our Contribution Guidelines before you contribute.

List of Algorithms

See our directory.

Algorithm Explanation

See our wiki.

Languages
JavaScript 100%