Files
lynchmark/tests/3_lis/outputs/openai_gpt-5.1-chat.js
2025-11-13 21:50:29 +00:00

10 lines
246 B
JavaScript

async function findLISLength(a) {
const {bisectLeft:b} = await import('https://cdn.jsdelivr.net/npm/d3-array@3/+esm')
const t = []
for (const x of a) {
const i = b(t, x)
t[i] = x
}
return t.length
}
export default findLISLength;