zubyj / leetcode-explained

Browser extension that adds video solutions, company tags, and GPT code analysis into Leetcode problems
https://leetcodeapp.com
MIT License
83 stars 13 forks source link

Add name of problem & problem description to the GPT prompt. #29

Closed zubyj closed 1 year ago

zubyj commented 1 year ago

Currently, the GPT prompt just reads the users code from the page. For better results, also tell GPT the problem name & description so it has some context about code.

This will result in more accurate "code complexity" and "fix code" results

zubyj commented 1 year ago

04596001f6e0768a9c67f6dd82d44a3a528e510d