flâneur — a map of the web's best reading

Colf

colf.dev · 710 words · saved by 3 readers

Colf is like combining leetcode, code golf and prompting. Your task is to prompt your way to the shortest solution to a given set of code challenges. The less tokens you use in the prompt and the code output, the higher you rank. Top 100

Colf Colf Home Challenges Leaderboard Profile Menu Colf Colf is like combining leetcode, code golf and prompting. Your task is to prompt your way to the shortest solution to a given set of code challenges. The less tokens you use in the prompt and the code output, the higher you rank. Prompt Reverse string using split/reverse/join; name function rev(s). Reverse string using split/reverse/join; name function rev(s). 13 tokens Code function rev(s) { return s .split('') .reverse() .join('') } function rev(s) { return s .split('') .reverse() .join('') } 17 tokens Input Output Total 13 17 30 Start

Explore this link on the map →

saved by

related reading