Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/th-blitz/neetcode-150
My NeetCode 150 Practice Problems. Neetcode 150 @ https://neetcode.io/ is a list of 150 LeetCode problems designed to cover all possible patterns & topics in data structures. Mainly implementing in C, C++, Rust , Python & Java.
https://github.com/th-blitz/neetcode-150
competetive-programming data-structures docker leetcode leetcode-practice neetcode neetcode150 rust
Last synced: 7 days ago
JSON representation
My NeetCode 150 Practice Problems. Neetcode 150 @ https://neetcode.io/ is a list of 150 LeetCode problems designed to cover all possible patterns & topics in data structures. Mainly implementing in C, C++, Rust , Python & Java.
- Host: GitHub
- URL: https://github.com/th-blitz/neetcode-150
- Owner: th-blitz
- License: mit
- Created: 2022-07-27T16:36:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-08T02:49:10.000Z (3 months ago)
- Last Synced: 2024-12-28T05:10:12.461Z (14 days ago)
- Topics: competetive-programming, data-structures, docker, leetcode, leetcode-practice, neetcode, neetcode150, rust
- Language: Java
- Homepage:
- Size: 1.09 MB
- Stars: 179
- Watchers: 4
- Forks: 40
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NeetCode-150
My NeetCode 150 Practice Problems.
Neetcode 150 is a curated list of 150 LeetCode problems designed to cover all possible patterns & topics in data structures.
Mainly practicing in ``` C ``` , ``` C++ ``` , ``` Rust ``` , ``` Python ``` , ``` JAVA ``` & ``` JavaScript ```.
The list was created by Neetcode-gh - https://github.com/neetcode-gh, originally based on another list called blind 75 with 75 problems.
List @ https://neetcode.io/# Docker Image setup
- Setup the docker image ``` leetcode.Dockerfile ``` (2.63 GB) at ./NeetCode/Envs/ .
- The image used here is ``` Ubuntu:kinetic ```.
- The Image includes;
- ``` Python 3.8.13 ```, ``` node v16.15.1 ```, ``` rust 1.62.1 ``` and ``` OpenJDK 18.0.2 ```.
- Prerequisites - ``` Docker ``` for desktop/mac/linux.
# Instructions to setup the docker image.
### 1. **Make sure to run all the commands from the project root directory.**
```sh
cd /home/projects/NeetCode-150
```### 2. **Build the docker image 'leetcode' from the docker file leetcode.Dockerfile.**
```sh
docker build -t leetcode -f Envs/leetcode.Dockerfile Envs
```
*```Building the image may take 5 to 15 mins. This is done only for the first time.```*### 3. **Run a container called leetcode from the built image.**
*``` For windows cmd ```*
```sh
docker run --rm -d -t --name=leetcode -v %cd%:/home/mount leetcode
```*```For Mac terminal OR windows powershell```*
```sh
docker run --rm -d -t --name=leetcode -v ${PWD}:/home/mount leetcode
```*``` For linux terminal ```*
```sh
docker run --rm -d -t --name=leetcode -v $(pwd):/home/mount leetcode
```### 4. **Open a interactive terminal from the running leetcode container.**
```sh
docker exec -ti leetcode bash
```### 5. **Run any files from within the shell.**
```sh
ls
cd Arrays
cd two_sum
node two_sum.js
```
### 6. **To stop and remove the running container.**```sh
docker stop leetcode
```### 7. **To re-run the leetcode image.**
```sh
follow the same steps from step 3 above.
```