Skip to content

Explore my LeetCode repository for efficient solutions across various topics. Enhance your coding skills and prepare for interviews with clear, organized code. πŸš€πŸ’»

Notifications You must be signed in to change notification settings

sahanmfs/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Cracking LeetCode: Algorithms and Data Structures Challenges πŸš€

LeetCode Logo

Releases

Welcome to the LeetCode repository! This project is dedicated to solving LeetCode puzzles, focusing on algorithms and data structures. Here, you'll find various coding challenges in multiple programming languages, including C++, Java, and Python.

Table of Contents

Getting Started

To get started with this repository, you can clone it to your local machine. Use the following command:

git clone https://github.com/sahanmfs/LeetCode.git

Once you have cloned the repository, navigate to the project directory:

cd LeetCode

You can now explore the various coding challenges and solutions provided in this repository.

Features

  • Diverse Challenges: Solve a wide range of problems that cover different topics in algorithms and data structures.
  • Multiple Languages: Code solutions in C++, Java, and Python.
  • Structured Solutions: Each solution follows a consistent structure, making it easy to understand.
  • Test Cases: Each challenge includes test cases to validate your solutions.
  • Continuous Integration: We use GitHub Actions to ensure code quality and automate testing.

Languages Used

This repository includes solutions in the following programming languages:

  • C++: Fast and efficient, ideal for competitive programming.
  • Java: Widely used in interviews and enterprise applications.
  • Python: Great for quick prototyping and easy to read.

How to Contribute

We welcome contributions! If you want to contribute to this repository, follow these steps:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature/your-feature-name
  3. Make your changes and commit them:
    git commit -m "Add your message here"
  4. Push to your branch:
    git push origin feature/your-feature-name
  5. Create a pull request.

Please ensure your code follows the existing style and includes comments where necessary.

Releases

You can find the latest releases of this project here. Download the necessary files and execute them to run the solutions.

Topics Covered

This repository focuses on the following topics:

  • Algorithms: Explore sorting, searching, and dynamic programming algorithms.
  • Data Structures: Learn about arrays, linked lists, trees, graphs, and more.
  • Coding Challenges: Engage with various problems that test your coding skills.
  • Interview Prep: Prepare for technical interviews with relevant problems.

Example Problems

Here are some example problems you can find in this repository:

  1. Two Sum: Given an array of integers, return indices of the two numbers such that they add up to a specific target.

  2. Reverse Linked List: Reverse a singly linked list.

  3. Binary Tree Inorder Traversal: Given a binary tree, return the inorder traversal of its nodes' values.

  4. Valid Parentheses: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.

  5. Merge Intervals: Given a collection of intervals, merge all overlapping intervals.

Visuals

Here are some images to illustrate the repository theme:

Algorithms

Data Structures

Contact

For any questions or suggestions, feel free to reach out:

Thank you for checking out the LeetCode repository! Happy coding!

About

Explore my LeetCode repository for efficient solutions across various topics. Enhance your coding skills and prepare for interviews with clear, organized code. πŸš€πŸ’»

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •