This repository is where I collect my solutions to LeetCode problems and similar coding challenges. The solutions are primarily written in C#, with occasional snippets or experiments in other languages.
- Practice algorithms and data structures
- Improve problem-solving skills
- Keep a clean, revisitable record of solutions and ideas
- Main: C#
- Others: As needed for specific problems or experiments
- Ensure .NET SDK is installed (https://dotnet.microsoft.com/)
- Compile and run a file or project:
- Single file:
dotnet scriptor compile withcsc(if applicable) - Project:
dotnet buildthendotnet run
- Single file:
- Files are organized by problem/topic as needed.
- Naming typically follows the problem name (e.g., "Two Sum.cs").
- Solutions may prioritize clarity first, then optimization.
- I sometimes add comments explaining approach, complexity, and edge cases.
This is a personal practice repo. Suggestions are welcome, but the main intent is learning and iteration.# leetcode-solutions