mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-01-13 16:17:54 +00:00
Delete tests/3_lis/outputs_gemini directory
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
const findLISLength = async (nums) => {
|
||||
const { bisectLeft } = await import('https://cdn.jsdelivr.net/npm/d3-array@3/+esm')
|
||||
const tails = []
|
||||
for (const x of nums) {
|
||||
tails[bisectLeft(tails, x)] = x
|
||||
}
|
||||
return tails.length
|
||||
}
|
||||
export default findLISLength;
|
||||
@@ -1,7 +0,0 @@
|
||||
const findLISLength = async nums => {
|
||||
const { bisectLeft } = await import('https://cdn.jsdelivr.net/npm/d3-array@3/+esm')
|
||||
const tails = []
|
||||
for (const n of nums) tails[bisectLeft(tails, n)] = n
|
||||
return tails.length
|
||||
}
|
||||
export default findLISLength;
|
||||
@@ -1,11 +0,0 @@
|
||||
const findLISLength = async (arr) => {
|
||||
if (!arr?.length) return 0
|
||||
const { bisectLeft } = await import('https://cdn.jsdelivr.net/npm/d3-array@3/+esm')
|
||||
const tails = []
|
||||
for (const n of arr) {
|
||||
const i = bisectLeft(tails, n)
|
||||
i < tails.length ? tails[i] = n : tails.push(n)
|
||||
}
|
||||
return tails.length
|
||||
}
|
||||
export default findLISLength;
|
||||
@@ -1,7 +0,0 @@
|
||||
const findLISLength = async nums => {
|
||||
const { bisectLeft } = await import('https://esm.sh/d3-array')
|
||||
const tails = []
|
||||
for (const n of nums) tails[bisectLeft(tails, n)] = n
|
||||
return tails.length
|
||||
}
|
||||
export default findLISLength;
|
||||
@@ -1,7 +0,0 @@
|
||||
const findLISLength = async a => {
|
||||
const { bisectLeft: b } = await import('https://esm.sh/d3-array')
|
||||
const t = []
|
||||
for (const n of a) t[b(t, n)] = n
|
||||
return t.length
|
||||
}
|
||||
export default findLISLength;
|
||||
@@ -1,7 +0,0 @@
|
||||
const findLISLength = async nums => {
|
||||
const { bisectLeft } = await import('https://esm.sh/d3-array')
|
||||
const tails = []
|
||||
for (const n of nums) tails[bisectLeft(tails, n)] = n
|
||||
return tails.length
|
||||
}
|
||||
export default findLISLength;
|
||||
@@ -1,7 +0,0 @@
|
||||
const findLISLength = async nums => {
|
||||
const { bisectLeft } = await import('https://cdn.jsdelivr.net/npm/d3-array@3/+esm')
|
||||
const tails = []
|
||||
for (const n of nums) tails[bisectLeft(tails, n)] = n
|
||||
return tails.length
|
||||
}
|
||||
export default findLISLength;
|
||||
@@ -1,7 +0,0 @@
|
||||
const findLISLength = async a => {
|
||||
const { bisectLeft: b } = await import('https://esm.sh/d3-array')
|
||||
const t = []
|
||||
for (const n of a) t[b(t, n)] = n
|
||||
return t.length
|
||||
}
|
||||
export default findLISLength;
|
||||
@@ -1,7 +0,0 @@
|
||||
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;
|
||||
@@ -1,11 +0,0 @@
|
||||
const findLISLength = async (nums) => {
|
||||
if (!nums?.length) return 0
|
||||
const { bisectLeft } = await import('https://cdn.jsdelivr.net/npm/d3-array@3/+esm')
|
||||
const tails = []
|
||||
for (const x of nums) {
|
||||
const i = bisectLeft(tails, x)
|
||||
i < tails.length ? tails[i] = x : tails.push(x)
|
||||
}
|
||||
return tails.length
|
||||
}
|
||||
export default findLISLength;
|
||||
@@ -1,10 +0,0 @@
|
||||
async function findLISLength(a) {
|
||||
const { bisectLeft: b } = await import('https://cdn.jsdelivr.net/npm/d3-array/+esm')
|
||||
const t = []
|
||||
for (const n of a) {
|
||||
const i = b(t, n)
|
||||
i < t.length ? t[i] = n : t.push(n)
|
||||
}
|
||||
return t.length
|
||||
}
|
||||
export default findLISLength;
|
||||
@@ -1,7 +0,0 @@
|
||||
const findLISLength = async nums => {
|
||||
const { bisectLeft } = await import('https://cdn.jsdelivr.net/npm/d3-array@3/+esm')
|
||||
const tails = []
|
||||
for (const n of nums) tails[bisectLeft(tails, n)] = n
|
||||
return tails.length
|
||||
}
|
||||
export default findLISLength;
|
||||
@@ -1,10 +0,0 @@
|
||||
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;
|
||||
@@ -1,10 +0,0 @@
|
||||
const findLISLength = async (n) => {
|
||||
const { bisectLeft: b } = await import('https://cdn.jsdelivr.net/npm/d3-array@3/+esm')
|
||||
const t = []
|
||||
for (const v of n) {
|
||||
const i = b(t, v)
|
||||
i < t.length ? t[i] = v : t.push(v)
|
||||
}
|
||||
return t.length
|
||||
}
|
||||
export default findLISLength;
|
||||
@@ -1,7 +0,0 @@
|
||||
const findLISLength = async (nums) => {
|
||||
const { bisectLeft: b } = await import('https://esm.sh/d3-array@3');
|
||||
const t = [];
|
||||
for (const n of nums) t[b(t, n)] = n;
|
||||
return t.length;
|
||||
};
|
||||
export default findLISLength;
|
||||
@@ -1,9 +0,0 @@
|
||||
const findLISLength = async (nums) => {
|
||||
const { bisectLeft } = await import('https://esm.sh/d3-array@3');
|
||||
const tails = [];
|
||||
for (const n of nums) {
|
||||
tails[bisectLeft(tails, n)] = n;
|
||||
}
|
||||
return tails.length;
|
||||
};
|
||||
export default findLISLength;
|
||||
@@ -1,7 +0,0 @@
|
||||
const findLISLength = async nums => {
|
||||
const { bisectLeft: search } = await import('https://esm.sh/d3-array')
|
||||
const tails = []
|
||||
for (const n of nums) tails[search(tails, n)] = n
|
||||
return tails.length
|
||||
}
|
||||
export default findLISLength;
|
||||
@@ -1,7 +0,0 @@
|
||||
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;
|
||||
@@ -1,9 +0,0 @@
|
||||
const findLISLength = async (nums) => {
|
||||
const { bisectLeft } = await import('https://esm.sh/d3-array');
|
||||
const tails = [];
|
||||
for (const n of nums) {
|
||||
tails[bisectLeft(tails, n)] = n;
|
||||
}
|
||||
return tails.length;
|
||||
};
|
||||
export default findLISLength;
|
||||
@@ -1,7 +0,0 @@
|
||||
const findLISLength = async a => {
|
||||
const { bisectLeft: b } = await import('https://cdn.jsdelivr.net/npm/d3-array@3/+esm')
|
||||
const t = []
|
||||
for (const n of a) t[b(t, n)] = n
|
||||
return t.length
|
||||
}
|
||||
export default findLISLength;
|
||||
@@ -1,9 +0,0 @@
|
||||
const findLISLength = async (nums) => {
|
||||
const { bisectLeft } = await import("https://cdn.jsdelivr.net/npm/d3-array@3/+esm");
|
||||
const tails = [];
|
||||
for (const n of nums) {
|
||||
tails[bisectLeft(tails, n)] = n;
|
||||
}
|
||||
return tails.length;
|
||||
};
|
||||
export default findLISLength;
|
||||
Reference in New Issue
Block a user