Skip to content

rivka14/leetcode-solutions-by-topic

Repository files navigation

LeetCode Solutions by Topic 🚀

📚 Welcome!

This repository contains solutions to LeetCode problems, organized by topics and difficulty levels.
It’s perfect for beginners and those looking to systematically improve their problem-solving skills.

📂 Repository Structure

The solutions are categorized into folders based on topics. Each folder contains files for individual problems, and every file includes:

  • Link to the problem
  • Difficulty level (Easy, Medium, or Hard)
  • My solution
  • Comments and explanations

Each problem file is named with its corresponding difficulty level in parentheses. For example, a problem titled reverse-linked-list(e) would indicate an Easy level problem, while merge-intervals(m) would be a Medium level problem, and maximum-subarray(h) would be a Hard level problem.

🌟 For Beginners

Starting with LeetCode can be challenging, but don’t worry! Follow these steps:

  1. Begin with Easy problems from a topic you're comfortable with (e.g., Arrays or Strings).
  2. Break the problem into smaller steps and plan your approach before coding.
  3. Focus on understanding the time complexity and improving your code efficiency over time.

👉 Helpful Guide: The LeetCode Beginner's Guide

🎯 Why Use This Repository?

  • Structured Learning: Focus on one topic at a time to build strong fundamentals.
  • Reference for Future Practice: Revisit explanations whenever you need a refresher.
  • Beginner-Friendly: Solutions include comments to help you understand the thought process.

💡 Contributions

If you'd like to:

  • Add new solutions
  • Improve explanations
  • Suggest useful tips

Feel free to open a pull request!

Releases

No releases published

Packages

 
 
 

Contributors