Skip to content

Commit ea06d34

Browse files
committed
docs(subSeq): update parameters
1 parent 2c9f014 commit ea06d34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/searching/longest-subsequence.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
* Complexity: O(N^2).
4141
* @private
4242
* @param {Array} array The input array.
43+
* @param {Function} cmp Comparator.
4344
* @return {Object} Graph represented with list of neighbours.
4445
*/
4546
function buildDag(array, cmp) {
@@ -108,6 +109,7 @@
108109
* @public
109110
* @module searching/longest-increasing-subsequence
110111
* @param {Array} array Input sequence.
112+
* @param {Function} cmp Comparator.
111113
* @return {Array} Longest increasing subsequence.
112114
*/
113115
return function (array, cmp) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy