https://github.com/saurabh47/data-structures-and-algorithms
Popular coding questions solution for interview preparation
https://github.com/saurabh47/data-structures-and-algorithms
algorithms-and-data-structures competitive-programming hacktoberfest interview-preparation leetcode
Last synced: 2 months ago
JSON representation
Popular coding questions solution for interview preparation
- Host: GitHub
- URL: https://github.com/saurabh47/data-structures-and-algorithms
- Owner: saurabh47
- License: mit
- Created: 2018-08-30T04:40:52.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-06T15:36:11.000Z (4 months ago)
- Last Synced: 2025-03-06T16:28:56.962Z (4 months ago)
- Topics: algorithms-and-data-structures, competitive-programming, hacktoberfest, interview-preparation, leetcode
- Language: Python
- Homepage:
- Size: 754 KB
- Stars: 14
- Watchers: 3
- Forks: 8
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
#### Data Structure and Algorithms
This repository is a collection of resources to help you prepare for coding interviews. You can use this repository to refer to solutions for coding questions. If you have a better solution to an existing question or have a solution to a new question, feel free to contribute.
### Table of Contents
- [Algorithms](algorithms/)
- [Data Structures](data_structures/)
- [Cryptography](cryptography/)
- [HackerRank](hackerrank/)
- [Leetcode](leetcode/)
- [Number Theory](number_theory/)
- [Patterns](patterns/)
- [Google Foobar](foobar/)
- [String manipulation](string_manipulation/)## Running a Python program
#### Download Python
- [Python](https://www.python.org/downloads/)
- [Python 3](https://www.python.org/downloads/)#### Run the program
```python
python3 .py
```## Running a cpp program
### **compilation**
### Mac/Linux
```
g++ file.cpp -o file.out
```### Windows
```
g++ file.cpp -o file.exe
```### **Running**
### Mac/Linux
```
./file.out
```### Windows
```
file
```### **Passing command line arguments**
```
./file.out arg1 arg2
```### Running a c program
**compilation**
```
gcc file.c -o file.out
```**running**
```
./file.out
```**passing command line arguments**
```
./file.out arg1 arg2
```## Contributing Policy
By Sharing a code to this repository you agree to the following:
- The code shared is written by you and not copied from any other source.
- You have full rights to the code you are contributing and it does not violate any law or third party rights.
- You agree that your contribution will be publicly available for use under the [MIT License](LICENSE).
- You agree that the maintainers of this repository have the right to edit, modify, copy, share your code under the [MIT License](LICENSE).
- You agree to indemnify and hold harmless the maintainers of this repository from any damages or claims caused by your contribution.
- You agree to follow the [Code of Conduct](CODE_OF_CONDUCT.md) of this repository.