Files
lynchmark/tests/3_lis/outputs/google_gemini-3-pro-preview.js
2025-11-18 17:37:06 +00:00

7 lines
229 B
JavaScript

const findLISLength = async arr => {
const { bisectLeft } = await import('https://esm.sh/d3-array')
const tails = []
for (const n of arr) tails[bisectLeft(tails, n)] = n
return tails.length
}
export default findLISLength;