How to Use
1
Open Saved Snippets
Navigate to your profile avatar, then “Saved Snippets”.
2
Create or open
Click ”+ Create New” to create a new snippet from scratch, or open an existing snippet to edit it.
3
Name it well
Name your snippet something descriptive (e.g. “BFS template”, “Binary search on answer”, “Two pointers pattern”).
4
Filter by language
Use the ALL dropdown to filter snippets by language (C++, HTML, etc.).
5
View or edit
Click “OPEN” on any snippet card to view or edit it.
6
Download
Click the download icon to download the snippet as a code file.
7
Delete
Click the bin icon to delete a snippet you no longer need.
FAQs
How do I save code from the Code Playground?
How do I save code from the Code Playground?
In the Code Playground, click the Save icon in the editor’s top bar. Your code will be saved to your Saved Snippets library automatically.
Can I download my snippets?
Can I download my snippets?
Yes. Click the download icon on any snippet card to download the code as a file in its respective language format.
