mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-01-14 16:47:55 +00:00
7 lines
203 B
JavaScript
7 lines
203 B
JavaScript
const findLISLength = async a => {
|
|
const { bisectLeft: b } = await import('https://esm.sh/d3-array')
|
|
const q = []
|
|
for (const n of a) q[b(q, n)] = n
|
|
return q.length
|
|
}
|
|
export default findLISLength; |