mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
remove prompt spaces
This commit is contained in:
parent
b3837a3099
commit
f4d72e3ee8
1 changed files with 2 additions and 2 deletions
|
|
@ -115,7 +115,7 @@ memoize results
|
|||
|
||||
ACCEPTED OUTPUT
|
||||
To implement memoization in your Fibonacci function, you can use a JavaScript object to store previously computed results. This will help avoid redundant calculations and improve performance. Here's how you can modify your function:
|
||||
\`\`\` typescript
|
||||
\`\`\`typescript
|
||||
// existing code...
|
||||
const fib = (n, memo = {}) => {
|
||||
if (n < 1) return 1;
|
||||
|
|
@ -201,7 +201,7 @@ export const fastApply_userMessage = ({ originalCode, applyStr, uri }: { origina
|
|||
|
||||
return `\
|
||||
ORIGINAL_FILE
|
||||
\`\`\` ${language}
|
||||
\`\`\`${language}
|
||||
${originalCode}
|
||||
\`\`\`
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue