https://github.com/evrendev/leetcode
https://github.com/evrendev/leetcode
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/evrendev/leetcode
- Owner: evrendev
- Created: 2024-10-14T11:07:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-12T16:01:56.000Z (over 1 year ago)
- Last Synced: 2025-01-25T11:26:27.042Z (over 1 year ago)
- Language: JavaScript
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Leetcode Solutions
## Description
This repository contains my solutions to various LeetCode coding challenges. Each solution is implemented in a clean and efficient manner, following best practices in software development. The problems range from easy to hard and cover various topics such as algorithms, data structures, dynamic programming, and more.
Feel free to explore the solutions, suggest improvements, or contribute by providing alternative approaches.
## Installation
To install the dependencies, run:
```sh
npm install
```
## Environment Variables
The project can load environment variables from `.env` files based on the `NODE_ENV` parameter. The following files are used:
- `.env.development` for development
- `.env.production` for production
These files are automatically loaded by the `dotenv-webpack` plugin configured in the [webpack.config.js](webpack.config.js) file.
## Scripts
Here are the available scripts you can run:
### Testing
To run the tests using Jest:
```sh
npm run test
```
### Development
To start the development server with the entry setting in the [webpack.config.js](webpack.config.js) file:
```sh
npm run start:dev
```
### Production
To start the production server with the entry setting in the [webpack.config.js](webpack.config.js) file:
```sh
npm run start:prod
```
### Build for Development
To build the project for development:
```sh
npm run build:dev
```
### Build for Production
To build the project for production:
```sh
npm run build:prod
```
### Build for Testing
To build the project for testing:
```sh
npm run build:test
```
## Author
Evren Yeniev
## License
This project is licensed under the ISC License.