Go
Go copied to clipboard
Algorithms and Data Structures implemented in Go for beginners, following best practices.
This repository [exists on codecov](https://app.codecov.io/gh/TheAlgorithms/Go). Since being able to easily browse through coverage reports it extremely useful, I decided to add a workflow uploading the report there. This PR is...
**Description** Current [stack array](https://github.com/TheAlgorithms/Go/blob/eaa2be2ffe9295b9eb996ec49af6e0e2e6381595/structure/stack/stackarray.go) implementation stores the last inserted value at zeroth index of the backing slice. This is inefficient as each push operation will require a new allocation and...
### Description The directory generator workflow is not committing changes due that the branch is protected. We must create a new branch and then a pull request towards the main...
The [_search functions_](https://github.com/TheAlgorithms/Go/tree/master/search) cannot be treated _uniformly_ in tests. The issue arises when the input array contains duplicated entries. Consider the example when we want to fund the index of...
Provides a solution to the "Unique Paths" problem. That is, in how many ways can you traverse an m x n matrix from (0, 0) to (m-1, n-1)
Implemented Traveling Salesman Problem using Dynamic Programming
### What would you like to share? Wan't to add implementation of rail fence cipher which is a classical type of transposition cipher. ### Extra issue details In the rail...
A practice to find lexicographically next greater permutation of the given array of integers. - If there does not exist any greater permutation, then print the lexicographically smallest permutation of...
Creation of Project Euler folder and solution for problem 1 Tests and benchmarks added