Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/walterjgsp/algorithms
Coding contest solutions, simple and advanced algorithms.
https://github.com/walterjgsp/algorithms
algorithm codeproblems
Last synced: about 2 months ago
JSON representation
Coding contest solutions, simple and advanced algorithms.
- Host: GitHub
- URL: https://github.com/walterjgsp/algorithms
- Owner: walterjgsp
- License: mit
- Created: 2017-04-18T12:47:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-11-04T19:54:13.000Z (about 2 years ago)
- Last Synced: 2023-08-12T02:43:10.685Z (over 1 year ago)
- Topics: algorithm, codeproblems
- Language: C++
- Homepage: https://walterjgsp.github.io/algorithms/
- Size: 6.76 MB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.com/walterjgsp/algorithms.svg?branch=master)](https://travis-ci.com/walterjgsp/algorithms)
[![CodeFactor](https://www.codefactor.io/repository/github/walterjgsp/algorithms/badge)](https://www.codefactor.io/repository/github/walterjgsp/algorithms)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/798842654ab045da9080cd4148f64456)](https://www.codacy.com/app/walterjgsp/algorithms?utm_source=github.com&utm_medium=referral&utm_content=walterjgsp/algorithms&utm_campaign=Badge_Grade)
Project Algorithm
Repository for algorithms, problems and data structures that we have used. This serves as a reference for everyone interested.
For any suggestion on algorithm, problem or data structure, just open an issue with question label.This repo contains questions from LeetCode (most of them), HackerRank, CodeSignal and LintCode.
We suggest you try their platform so you can get new problems and articles about algorithms.The documentation for this project can be found at
The problems list can be found at [Problems](PROBLEMS.md)
## Third-Party Libraries
The following libraries are used in the project and are necessary to install if you want to enjoy all the features in this project (testing):
* [Gradle](https://gradle.org/): build tool for Kotlin.
## Run C++
All the C++ code were done using the C++14 version. To compile use the following command:
```bash
g++ -std=c++20 -o
```And to run the code:
```bash
./
```### Adding bits to Xcode
If you are running on a Mac one of the options for the stdc++ library to work it's to add it on XCode. To do that first create the folder **bits**
in the following path: ***/Library/Developer/CommandLineTools/usr/include/c++/v1***Then copy the file stdc++.h inside the folder **C++/frameworks/** to the folder bits.
## Run Kotlin
First is necessary to install Kotlin command line [kotlinc](https://kotlinlang.org/docs/tutorials/command-line.html)
To compile use the following command:
```bash
kotlinc -include-runtime -d .jar
```And to run the code:
```bash
java -jar
```## Run Java
All the Java code were done using the JDK 11 version. Compile using the following command:
```bash
javac
```And to run the code:
```bash
java Main
```## Run Python
All Python code was done using Python 3.7 version. Run the code using the following command:
```bash
python3
```### Services
Services that i decided to use in this repository so i could test a more professional way of working:
* [SonarQube](https://sonarcloud.io/dashboard?id=walterjgsp-github)
* [TravisCI](https://travis-ci.org/walterjgsp/algorithms)
* [CodeFactor](https://www.codefactor.io/repository/github/walterjgsp/algorithms)
* [Codacy](https://app.codacy.com/project/walterjgsp/algorithms/dashboard)#### Important commands
Add 0 in front of each filename:
```bash
rename 's/\d+/sprintf("%04d", $&)/e' *.cpp
```