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

https://github.com/w3scribe/practice

A multi-language playground (C, Go, Python, TypeScript) featuring practice code, examples, and resources for algorithms, data structures, and more—ideal for learning and reference.
https://github.com/w3scribe/practice

bun cpp golang javascript typescript

Last synced: 3 months ago
JSON representation

A multi-language playground (C, Go, Python, TypeScript) featuring practice code, examples, and resources for algorithms, data structures, and more—ideal for learning and reference.

Awesome Lists containing this project

README

          

# Practice Repository

A multi-language playground (C, Go, Python, TypeScript) featuring practice code, examples, and resources for algorithms, data structures, and more—ideal for learning and reference.

## Table of Contents

- [Introduction](#introduction)
- [Folder Structure](#folder-structure)
- [Languages Covered](#languages-covered)
- [How to Use](#how-to-use)
- [Prerequisites](#prerequisites)
- [Getting Started](#getting-started)
- [Contributing](#contributing)
- [License](#license)
- [Additional Resources](#additional-resources)

## Introduction

This repository serves as a practice ground for various programming languages including C, Go, Python, and TypeScript. It contains example code, algorithms, data structures, and exercises designed to help you improve your coding skills.

## Folder Structure

```plaintext
Practice/
├── docs/
│ ├── c.md
│ ├── cpp.md
│ ├── cpp_notes.md
│ ├── cpp_oop.md
│ ├── go.md
│ ├── python.md
│ └── typescript.md
├── src/
│ ├── c/
│ │ └── app.c
│ ├── cpp/
│ │ └── app.cpp
│ ├── go/
│ │ └── app.go
│ ├── python/
│ │ └── app.py
│ └── typescript/
│ ├── .gitignore
│ ├── index.ts
│ ├── package.json
│ └── tsconfig.json
├── .gitignore
├── LICENSE
└── README.MD
```

## Languages Covered

- **C**: Basic programs, algorithms, and more (`src/c`, docs in `docs/c.md`).
- **Go**: Practice files and examples (`src/go`, docs in `docs/go.md`).
- **Python**: Basic programs, algorithms, and other learning resources (`src/python`, docs in `docs/python.md`).
- **TypeScript**: Examples and practice code (`src/typescript`, docs in `docs/typescript.md`).

## How to Use

1. **Clone the Repository**: Clone this repository to your local machine using:
```bash
git clone https://github.com/w3Scribe/Practice.git
```

2. **Navigate to the Language Source**: Drill into the language-specific folder under `src/` (e.g., `cd Practice/src/python`).

3. **Open the Main File**: Each source folder contains a primary entry file (e.g., `app.py`, `app.go`, `app.cpp`, or `index.ts`).

4. **Review Docs**: Consult the relevant guide in `docs/.md` for setup tips, commands, and extra learning material before running the code.

## Prerequisites

- **C**: GCC compiler or any C compiler.
- **Go**: Go runtime installed ([golang.org](https://golang.org/)).
- **Python**: Python installed ([python.org](https://python.org/)).
- **TypeScript**: Node.js and Bun installed ([bun.sh](https://bun.sh)).

## Getting Started

1. **Clone the Repository**:
```bash
git clone https://github.com/w3Scribe/Practice.git
```

2. **Navigate to the Desired Language Directory**:
```bash
cd Practice/
```

3. **Follow the Instructions in the Language-Specific `README.md`**: Each language directory has its own `README.md` with specific instructions on how to run the code.

## Contributing

We welcome contributions! Please follow these steps to contribute:

1. Fork the repository.
2. Create a new branch (`git checkout -b feature-branch`).
3. Make your changes.
4. Commit your changes (`git commit -m 'Add some feature'`).
5. Push to the branch (`git push origin feature-branch`).
6. Open a pull request.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Additional Resources

- [Official C Documentation](https://en.cppreference.com/w/)
- [Official Go Documentation](https://golang.org/doc/)
- [Official Python Documentation](https://docs.python.org/3/)
- [Official TypeScript Documentation](https://www.typescriptlang.org/docs/)

Feel free to explore the code, make changes, and run the programs to enhance your programming skills across multiple languages.