Skip to content

Angelmmc/leetcode-cs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode-cs

License GitHub Stars GitHub Issues

About

This is a collection of solutions to various LeetCode problems made with C#. This repository organizes LeetCode problems by difficulty: easy, medium, and hard. Each problem contains a single .cs file with a main method that can be compiled in the Program.cs file.

Built with

Getting Started

Prerequisites

  • Git
  • .Net SDK 9.0+

Installation

  1. Clone the repository
git clone https://github.com/Angelmmc/leetcode-cs
  1. Navigate to the root folder
cd leetcode-cs
  1. Compile the program
dotnet build
  1. Run the program
dotnet run

Optional: Open the .sln file in the Visual Studio IDE

Usage

  1. Navigate through the easy, medium and hard folders, most of them have a main method which you can run to test it.

  2. Modify the Program.cs to run the program, be sure to reference the folder

using leetcode_cs.easy;

Maximum69Number.main();

License

Distributed under the MIT License. See LICENSE for more information.

About

A collection of LeetCode problem solutions implemented in C#.

Topics

Resources

License

Stars

Watchers

Forks

Languages