Big.O.Trailer.-.Made.with.Clipchamp.mp4
This VS Code extension allows you to determine the time complexity of a your code (using Big O() notation) and also produces a more optimised version of your code. It does this by sending the code you highlight over to GPT-3, an AI model made by OpenAI. This then sends back the time complexity of the function which is shown in the bottom right of the IDE. If you choose to optimise it, GPT-3 will send back a more time efficient version of your code in a new editor on the right.
- Get Time Complexity
- Make Code More Efficient - With Respect To Time Complexity
- Debug Code - Removes Errors
- Make Code More Readable By Adding Comments
- Convert Code To Another Language
- Solves Programming Problems By Returning Coded Solution
- Reload VS Code After Downloading (may be slow at first as server is starting up)
- Highlight The Code You Want To Evaluate
- Click Ctrl+Shift+P Whilst Code Is Highlighted
- type 'Get BigO() - Time Complexity'
- Select It
- Wait For Result, It Will Appear On Bottom Right
- Highlight The Code You Want To Optimise
- Click Ctrl+Shift+P Whilst Code Is Highlighted
- Type 'Optimise Code Efficiency'
- Select It
- Wait For Result, New Editor Will Appear With Faster Code On The Right
- Highlight The Code You Want To Debug
- Click Ctrl+Shift+P Whilst Code Is Highlighted
- Type 'Debug Code'
- Select It
- Wait For Result, New Editor Will Appear With Debugged Code On The Right
- Highlight The Code You Want To Make Readable
- Click Ctrl+Shift+P Whilst Code Is Highlighted
- Type 'Make Code Readable'
- Select It
- Wait For Result, New Editor Will Appear With Readable Code On The Right
- IMPORTANT: Add A Comment Above Code Snippet With New Language To Convert To
- Highlight The Code, Including The Comment
- Click Ctrl+Shift+P Whilst Code Is Highlighted
- Type 'Convert Code To Another Language'
- Select It
- Wait For Result, New Editor Will Appear With Converted Code On The Right
- Paste In The Problem Statement Along With Any Example Test Cases
- Highlight The Statement, Including The Test Cases
- Click Ctrl+Shift+P Whilst Statement Is Highlighted
- Type 'Solve Programming Problem'
- Select It
- Wait For Result, New Editor Will Appear With Coded Solution On The Right
If Your Algorithm Takes In A Data Structure As A Parameter, Also Select The Data Structure In The Highlighted Text, Otherwise GPT-3 Wont Know The Length Of The DS.
BigO_public_vid.mp4
BigO_vid_new.mp4
BigO_text_vid.mp4
BigO_optimise_vid.mp4
in this case, the time complexity decreased from O(n^2) -> O(n), hence making the solution faster
debugCode_vid.mp4
readableCode_vid.mp4
convertCode_vid.mp4
solveCode_vid.mp4
- Add A Loading Indicator Whilst Result Is Being Fetched
- Provide An Option To Increase Function Speed ( e.g: O(n^2) -> O(n) )
- Store Highlighted Functions