An open API service indexing awesome lists of open source software.

https://github.com/gowthertg/leetcode


https://github.com/gowthertg/leetcode

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# LeetCode Solutions

This repository contains my solutions to various problems on [LeetCode](https://leetcode.com/). Solutions are implemented in Python or C.

## Usage

Feel free to explore the solutions provided in this repository. Each solution is accompanied by a brief explanation of the approach used.

To run the Python solutions locally, make sure you have Python installed. Navigate to the respective problem directory and execute the solution file.

```bash
python problem_name.py
```
For the C solutions, make sure you have a C compiler installed. Navigate to the respective problem directory and compile the solution file using the following commands:
```bash
gcc problem_name.c -o problem_name
./problem_name
```