Welcome to my LeetCode-Notes repository! This is my personal collection of notes, solutions, and strategies for solving LeetCode problems, designed with a neurodivergent-friendly approach. As someone with a neurodivergent brain, I often find coding problems overwhelming or confusing (like struggling with Two Sum’s focus on indices instead of values). This repository organizes my thought process, analogies, visuals, and step-by-step breakdowns to make problem-solving clearer and more manageable.
This repository is a space to:
- Document my solutions to LeetCode problems with clear explanations.
- Break down problems into small, digestible steps to reduce overwhelm.
- Use analogies, visuals, and color-coding to make concepts intuitive.
- Track my progress and revisit challenges with fresh insights.
- Share strategies that work for neurodivergent minds (e.g., ADHD, autism, dyslexia).
The repository is organized to keep notes consistent and easy to navigate:
LeetCode-Notes/
├── README.md # This file
├── problems/ # Folders for each LeetCode problem
│ ├── 001_two_sum/ # Example: Two Sum problem
│ │ ├── README.md # Problem summary and links
│ │ ├── solution.py # Code solution(s)
│ │ ├── notes.md # Thought process, analogies, and challenges
│ │ └── visual.png # Diagrams or sketches (if applicable)
│ ├── 002_add_two_numbers/
│ │ └── ... # Similar structure for other problems
├── templates/ # Reusable templates
│ ├── problem_template.md # Template for problem notes
│ └── visual_template.png # Template for diagrams
└── resources/ # General resources
├── neurodivergent_strategies.md # Neurodivergent-friendly coding tips
└── tips.md # General LeetCode problem-solving tips
- problems/: Each problem has its own folder (e.g.,
001_two_sum
), containing a README, solution code, detailed notes, and optional visuals. - templates/: A standard template to ensure consistent note-taking.
- resources/: Tips and strategies for solving problems, with a focus on neurodivergent approaches.
- Browse Problems: Check the
problems/
folder for specific LeetCode problems. Each folder includes:- A
README.md
with the problem description and links. - A
solution.py
with my code (often in Python). - A
notes.md
with my thought process, analogies, and neurodivergent challenges. - A
visual.png
(if included) to illustrate the problem visually.
- A
- Learn Strategies: Read
resources/neurodivergent_strategies.md
for tips tailored to neurodivergent minds, like breaking problems into tiny steps or using analogies. - General Tips: See
resources/tips.md
for broader LeetCode problem-solving advice. - Contribute: If you’re a collaborator or want to suggest improvements, open an issue or pull request!
As a neurodivergent coder, I find LeetCode problems can feel chaotic or hard to process. For example, the Two Sum problem confused me because I focused on the numbers instead of their indices. To address this, I:
- Break problems into small steps to avoid overwhelm.
- Use analogies (e.g., Two Sum as finding puzzle pieces).
- Visualize data structures with sketches or diagrams.
- Color-code notes and code to highlight key parts.
- Take breaks to reset when stuck.
- Talk through problems aloud or in writing to clarify thoughts.
Check resources/neurodivergent_strategies.md
for more details on these techniques.
- LeetCode: leetcode.com for problem statements and submissions.
- Neurodivergent Strategies: neurodivergent_strategies.md
- General Tips: tips.md
- Visual Tools: Excalidraw or Canva for creating diagrams.
- Community: Search X or Reddit for LeetCode discussions and tips.
If you have feedback, suggestions, or want to collaborate, open a GitHub issue or reach out via email.
Happy coding, and let’s make LeetCode less overwhelming together!