https://github.com/vhyran/ziglings
Data Structures and Algorithms in Zig
https://github.com/vhyran/ziglings
dsa learn-to-code learning learning-by-doing markdown markdown-documentation markdown-zig practice zig zig-learn ziglang ziglings
Last synced: 4 months ago
JSON representation
Data Structures and Algorithms in Zig
- Host: GitHub
- URL: https://github.com/vhyran/ziglings
- Owner: vhyran
- License: mit
- Created: 2024-12-21T16:56:18.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-01-12T17:08:25.000Z (6 months ago)
- Last Synced: 2025-01-12T18:22:17.253Z (6 months ago)
- Topics: dsa, learn-to-code, learning, learning-by-doing, markdown, markdown-documentation, markdown-zig, practice, zig, zig-learn, ziglang, ziglings
- Language: Zig
- Homepage:
- Size: 146 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Data Structures and Algorithms in Zig
Welcome to the **Data Structures and Algorithms (DSA)** repository implemented in the Zig programming language! This repository serves as a resource for anyone interested in learning about fundamental DSA concepts and their implementations in Zig.
## Introduction
This repository contains implementations of common data structures and algorithms in Zig. The goal is to provide clean, efficient, and well-documented code that serves as both a learning resource and a utility for developers.
## Why Zig?
Zig is a modern programming language designed for simplicity, performance, and reliability. Its features include:
- Manual memory management with safety checks
- No hidden control flow or memory allocations
- Compile-time code execution
- Interoperability with CThese features make Zig a great choice for implementing efficient and predictable data structures and algorithms.
## Getting Started
### Version
- 0.13.0### Documentation
You can find the official Zig [documentation](https://ziglang.org/documentation/0.13.0). This documentation provides comprehensive information about the Zig programming language, including its syntax, features, and standard library.### Prerequisites
Install [Zig](https://ziglang.org/download/) on your system.### Compiling and Running Code
To compile and run an implementation:```bash
zig build-exe .zig
./
```## Contributing
Contributions are welcome! If you’d like to add a new data structure, algorithm, or improve existing implementations, please follow these steps:
1. Fork this repository.
2. Create a new branch: `git checkout -b feature/`.
3. Commit your changes: `git commit -m 'Add new feature'`.
4. Push to the branch: `git push origin feature/`.
5. Submit a pull request.Ensure your code follows the Zig coding standards and includes appropriate comments and test cases.
## License
This repository is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
---
Feel free to explore, learn, and contribute!