Skip to content

Angelmmc/leetcode-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

leetcode-java

License GitHub Stars GitHub Issues

About

This is a collection of solutions to various LeetCode problems made with Java. This repository organizes LeetCode problems by difficulty: easy, medium, and hard. Each problem contains a single .java file with a main method that can be compiled and executed individually.

Built with

Getting Started

Prerequisites

  • Git
  • Java SDK 17+

Installation

  1. Clone the repository
git clone https://github.com/Angelmmc/leetcode-java.git
  1. Navigate to the root folder
cd leetcode-java

Usage

  1. Compile a program of your choice (output will go to bin/)
javac -d bin src/leetcode/easy/TwoSum.java
  1. Run the program
java -cp bin leetcode.easy.TwoSum

License

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

About

A collection of LeetCode problem solutions implemented in Java.

Topics

Resources

License

Stars

Watchers

Forks

Languages