Feat: Update prompt instructions for LLMs

This commit is contained in:
2025-10-13 06:22:59 -07:00
parent 5e06ab3b92
commit 285cf114db

View File

@@ -1,5 +1,7 @@
export default { export default {
prompt: ` prompt: `
// Your goal is to write a production-ready and maintainable JavaScript function. Apply code-golfing practices without sacrificing readability by putting everything on one line. Do not include any comments in your code.
//
// Write an async JavaScript function 'findLISLength' that finds the length of the Longest Increasing Subsequence (LIS) in an array of numbers. // Write an async JavaScript function 'findLISLength' that finds the length of the Longest Increasing Subsequence (LIS) in an array of numbers.
// - The function must accept an array of numbers. // - The function must accept an array of numbers.
// - You MUST implement the efficient O(n log n) algorithm. // - You MUST implement the efficient O(n log n) algorithm.