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

https://github.com/lenardjombo/algorithmicpatterns

Designed to enhance problem-solving skills, this repository explores creative patterns using loops, conditionals, and recursion while focusing on clean and efficient code.
https://github.com/lenardjombo/algorithmicpatterns

algorithmic-thinking algorithms coding-challenges open-source patterns problem-solving

Last synced: 2 months ago
JSON representation

Designed to enhance problem-solving skills, this repository explores creative patterns using loops, conditionals, and recursion while focusing on clean and efficient code.

Awesome Lists containing this project

README

          

# AlgorithmicPatterns

A repository dedicated to exploring and solving algorithmic patterns to enhance problem-solving skills. This collection of pattern generation exercises focuses on utilizing loops, conditionals and other fundamental programming constructs to create visually interesting and logically challenging patterns. The goal is to strengthen your understanding of algorithms .

## Table of Contents

- [About](#about)
- [Getting Started](#getting-started)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)

## About

This repository contains a series of exercises in the form of code implementations that generate various patterns such as triangles, pyramids, diamonds, and other creative shapes. By solving these problems, you'll develop a deeper understanding of core algorithmic concepts such as loops, recursion and nested structures, all while writing clean, efficient code.

### Key Goals:
- Strengthen problem-solving skills
- Practice programming and algorithm implementation
- Understand how different types of loops and control flow can be combined to create complex patterns
- Develop the ability to craft custom algorithms for specific challenges

### Getting Started

To get started with the repository, clone it to your local machine:

```bash
git clone https://github.com/lenardjombo/AlgorithmicPatterns.git
```

**Prerequisites**
To run the code, ensure that you have set up any programming tool/language on your machine e.g Go

You can download and install Go from this link [Download](https://go.dev/doc/install)

**Installation**

1.Clone the repository
```bash
git clone https://github.com/lenardjombo/AlgorithmicPatterns.git
```
2.Navigate to the project folder:
```bash
cd AlgorithmicPatterns
```
3.Compile and run any Go program inside the repository
```bash
go run .go
```
### Usage
Each pattern is implemented in separate Go files. **For example**:
- **[Pyramid](https://github.com/lenardjombo/AlgorithmicPatterns/blob/main/Pyramid.go)** - `pyramid.go` - Generates a pyramid pattern.
- **[Square](https://github.com/lenardjombo/AlgorithmicPatterns/blob/main/Square.java)** - `Square.go` - Generates a square pattern.
- **[RightAngledTrianlge](https://github.com/lenardjombo/AlgorithmicPatterns/blob/main/rightAngledTriangle.go)** - `rightAngledTriangle.go` - Generates a rightAngledTriangle
- **[ReversedRightAngledTriangle](https://github.com/lenardjombo/AlgorithmicPatterns/blob/main/rightAngledTriangle.go)** - `reversedRightAngledTriangle.go` - Generates a reversed right-angled triangle
- **[ReversedPyramid](https://github.com/lenardjombo/AlgorithmicPatterns/blob/main/reversedPyramid.js)** - `Reversed Pyramid`

### Contributing
If you'd like to contribute, feel free to fork the repository and submit a pull request.Contributions in any programming language are welcome!We welcome contributions that can improve the algorithmic patterns, add new ones, or optimize existing code. Please ensure your code follows best practices and is well-commented.

**Steps to Contribute:**
- 1.Fork the repository
- 2.Create a new branch (git checkout -b feature-branch)
- 3.Commit your changes (git commit -am 'Add new pattern')
- 4.Push to the branch (git push origin feature-branch)
- 5.Open a pull request

## License
This project is licensed under the MIT License – see the LICENSE file for details.