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