Skip to content

HamidMolareza/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


GitHub Pull Requests welcome

About

The solutions to some LeetCode problems.

All the solutions that are here, get full score (100) in LeetCode. But that does not necessarily mean the best answer.

🌟 If you like this project, please give it a star.

In this section you can see the solutions, And if you want, you can send your solution (in any language).

Problems and Solutions

See the complete list in this page.

Number of problems solved: 31

Number of solutions: 64

Problem Description Solutions Last commit Contributors
balanced binary tree Readme csharp - txt 06-11-2024
HamidMolareza
find customer referee Readme csharp-sql 02-11-2024
Hamid Molareza
employee bonus Readme csharp-sql 02-11-2024
Hamid Molareza
rising temperature Readme csharp-sql 02-11-2024
Hamid Molareza
delete duplicate emails Readme csharp-sql 02-11-2024
Hamid Molareza
customers who never order Readme csharp-sql 02-11-2024
Hamid Molareza
duplicate emails Readme csharp-sql 02-11-2024
Hamid Molareza
employees earning more than their managers Readme csharp-sql 02-11-2024
Hamid Molareza
combine two tables Readme csharp-sql 02-11-2024
Hamid Molareza
convert sorted array to binary search tree Readme csharp - txt 01-11-2024
HamidMolareza
maximum depth of binary tree * Readme csharp - txt - typescript 31-10-2024
HamidMolareza
same tree Readme csharp - txt - typescript 31-10-2024
HamidMolareza
length of last word Readme csharp - txt - typescript 31-10-2024
HamidMolareza
search insert position Readme csharp - txt 31-10-2024
HamidMolareza
remove element Readme csharp - txt - typescript 31-10-2024
HamidMolareza
add binary Readme txt - csharp - typescript 30-10-2024
HamidMolareza
binary tree inorder traversal Readme txt - csharp 30-10-2024
Hamid Molareza
climbing stairs * Readme txt - csharp - typescript 30-10-2024
HamidMolareza
find the index of the first occurrence in a string Readme txt - csharp 30-10-2024
Hamid Molareza
longest common prefix Readme txt - csharp 30-10-2024
HamidMolareza
merge sorted array * Readme txt - csharp - typescript 30-10-2024
HamidMolareza
merge two sorted lists Readme txt - csharp 30-10-2024
Hamid Molareza
palindrome number Readme txt - csharp - typescript 30-10-2024
Hamid Molareza
plus one Readme txt - csharp 30-10-2024
Hamid Molareza
remove duplicates from sorted array Readme txt - csharp 30-10-2024
Hamid Molareza
remove duplicates from sorted list Readme txt - csharp 30-10-2024
Hamid Molareza
roman to integer Readme txt - csharp 30-10-2024
Hamid Molareza
sqrtx Readme txt - csharp 30-10-2024
Hamid Molareza
symmetric tree Readme txt - csharp 30-10-2024
Hamid Molareza
two sum Readme txt - csharp - typescript 30-10-2024
Hamid Molareza
valid parentheses Readme csharp - txt - typescript 30-10-2024
HamidMolareza

See the complete list in this page.

Usage

All solutions are in the Solutions folder.

In LeetCode, the structure of the problem link is as follows: https://leetcode.com/problems/{Problem-Name}

We keep all problem solutions in a folder called Problem-Name. For example, the solutions to this problem with name two-sum are located in folder two-sum inside Solutions folder.

Every problem can be solved with different languages. For example, C#, Python, etc. To separate the languages, we save each language in a folder with its own name. For example, for C#, the solution is placed in a folder called csharp.

For example, the tree structure of a solutions can look like this:

  • Solutions
    • two-sum
      • README.md (the question text)
      • csharp
        • Solution
          • program.cs
        • Test
        • README (about solutions)
      • python
        • program.py
    • combine-two-tables
      • README.md (the question text)
      • MySQL
        • solution.sql
        • README.md (about solution)

For see default templates, you can see this section.

Known issues

Please see this list and help if you can.

Roadmap

See the open issues for a list of proposed features (and known issues).

Support

Reach out to the maintainer at one of the following places:

Features

  • Automatic readme generation
  • Support multi-language
  • CI/CD with GitHub action

Contributing

First off, thanks for taking the time to contribute! Contributions make the free/open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.

Please read our contribution guidelines, and thank you for being involved!

Authors & contributors

The original setup of this repository is by Hamid Molareza.

About Readme.md

This file is generated automatically. You can see the source of this program in the Readme Generator directory.

This project uses the Payadel README template.

Why readme is auto-generated?

I didn't want to manually update the table in this file every time a problem was solved. This is repetitive work and programmers hate repetitive work!

How does readme generated?

In summary, the list of problems and solutions is read from the Solutions folder, and the processed information is placed in this format. For more information please see Readme Generator.

License

This project is licensed under the GPLv3.

See LICENSE for more information.

Related

If you want your repository to be added, send me the link in the issues.

About

The solutions to LeetCode problems

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published