Files
lynchmark/tests/3_lis/outputs_gemini/gemini-3-pro-preview TEMP_1.3.js
2025-11-18 22:04:41 +00:00

10 lines
256 B
JavaScript

const findLISLength = async a => {
const { bisectLeft: b } = await import('https://esm.sh/d3-array')
const t = []
for (const v of a) {
const i = b(t, v)
i < t.length ? t[i] = v : t.push(v)
}
return t.length
}
export default findLISLength;