{"id":19660838,"url":"https://github.com/walterjgsp/algorithms","last_synced_at":"2025-10-25T00:03:23.101Z","repository":{"id":33530945,"uuid":"88624237","full_name":"walterjgsp/algorithms","owner":"walterjgsp","description":"Coding contest solutions, simple and advanced algorithms.","archived":false,"fork":false,"pushed_at":"2023-10-25T21:50:53.000Z","size":7090,"stargazers_count":6,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T10:51:14.208Z","etag":null,"topics":["algorithm","codeproblems"],"latest_commit_sha":null,"homepage":"https://walterjgsp.github.io/algorithms/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/walterjgsp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-18T12:47:24.000Z","updated_at":"2022-03-30T22:58:48.000Z","dependencies_parsed_at":"2023-01-15T01:18:56.987Z","dependency_job_id":null,"html_url":"https://github.com/walterjgsp/algorithms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walterjgsp%2Falgorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walterjgsp%2Falgorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walterjgsp%2Falgorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walterjgsp%2Falgorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/walterjgsp","download_url":"https://codeload.github.com/walterjgsp/algorithms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251383976,"owners_count":21580978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","codeproblems"],"created_at":"2024-11-11T16:05:35.288Z","updated_at":"2025-10-25T00:03:23.090Z","avatar_url":"https://github.com/walterjgsp.png","language":"C++","readme":"[![Build Status](https://travis-ci.com/walterjgsp/algorithms.svg?branch=master)](https://travis-ci.com/walterjgsp/algorithms)\n[![CodeFactor](https://www.codefactor.io/repository/github/walterjgsp/algorithms/badge)](https://www.codefactor.io/repository/github/walterjgsp/algorithms)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/798842654ab045da9080cd4148f64456)](https://www.codacy.com/app/walterjgsp/algorithms?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=walterjgsp/algorithms\u0026amp;utm_campaign=Badge_Grade)\n\n\u003cdiv align=\"center\"\u003e\n    \u003ch1 align=\"center\"\u003e\n    Project Algorithm \n    \u003c/h1\u003e\n  \u003cimg  width=\"50\" height=\"50\" src=\"./icon.svg\"\u003e\n\u003c/div\u003e\n\nRepository for algorithms, problems and data structures that we have used. This serves as a reference for everyone interested.\nFor any suggestion on algorithm, problem or data structure, just open an issue with question label.\n\nThis repo contains questions from LeetCode (most of them), HackerRank, CodeSignal and LintCode.\nWe suggest you try their platform so you can get new problems and articles about algorithms.\n\nThe documentation for this project can be found at \u003chttps://walterjgsp.github.io/algorithms/\u003e\n\nThe problems list can be found at [Problems](PROBLEMS.md)\n\n## Third-Party Libraries\n\nThe following libraries are used in the project and are necessary to install if you want to enjoy all the features in this project (testing):\n\n* [Gradle](https://gradle.org/): build tool for Kotlin.\n\n## Run C++\n\nAll the C++ code were done using the C++14 version. To compile use the following command:\n\n```bash\ng++ -std=c++20 \u003cINPUT_FILE_NAME\u003e -o \u003cOUTPUT_FILE_NAME\u003e\n```\n\nAnd to run the code:\n\n```bash\n./\u003cOUTPUT_FILE_NAME\u003e\n```\n\n### Adding bits to Xcode\n\nIf 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**\nin the following path: ***/Library/Developer/CommandLineTools/usr/include/c++/v1***\n\nThen copy the file  stdc++.h inside the folder **C++/frameworks/** to the folder bits.\n\n## Run Kotlin\n\nFirst is necessary to install Kotlin command line [kotlinc](https://kotlinlang.org/docs/tutorials/command-line.html)\n\nTo compile use the following command:\n\n```bash\nkotlinc \u003cINPUT_FILE_NAME\u003e -include-runtime -d \u003cOUTPUT_FILE_NAME\u003e.jar\n```\n\nAnd to run the code:\n\n```bash\njava -jar \u003cOUTPUT_FILE_NAME\u003e\n```\n\n## Run Java\n\nAll the Java code were done using the JDK 11 version. Compile using the following command:\n\n```bash\njavac \u003cINPUT_FILE_NAME\u003e\n```\n\nAnd to run the code:\n\n```bash\njava Main\n```\n\n## Run Python\n\nAll Python code was done using Python 3.7 version. Run the code using the following command:\n\n```bash\npython3 \u003cINPUT_FILE_NAME\u003e \n```\n\n### Services\n\nServices that i decided to use in this repository so i could test a more professional way of working:\n\n* [SonarQube](https://sonarcloud.io/dashboard?id=walterjgsp-github)\n* [TravisCI](https://travis-ci.org/walterjgsp/algorithms)\n* [CodeFactor](https://www.codefactor.io/repository/github/walterjgsp/algorithms)\n* [Codacy](https://app.codacy.com/project/walterjgsp/algorithms/dashboard)\n\n\n#### Important commands\n\nAdd 0 in front of each filename:\n```bash\nrename 's/\\d+/sprintf(\"%04d\", $\u0026)/e' *.cpp\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalterjgsp%2Falgorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalterjgsp%2Falgorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalterjgsp%2Falgorithms/lists"}