{"id":20977442,"url":"https://github.com/ruferdz/sum-of-three-algorithm","last_synced_at":"2025-07-24T01:02:13.008Z","repository":{"id":116864389,"uuid":"237182840","full_name":"RuFerdZ/Sum-of-Three-Algorithm","owner":"RuFerdZ","description":null,"archived":false,"fork":false,"pushed_at":"2020-02-13T17:19:55.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T06:14:54.304Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RuFerdZ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-30T09:47:51.000Z","updated_at":"2023-02-23T08:57:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"a6fdeaca-9d67-44f9-a1f3-348fa43e6586","html_url":"https://github.com/RuFerdZ/Sum-of-Three-Algorithm","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/RuFerdZ%2FSum-of-Three-Algorithm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RuFerdZ%2FSum-of-Three-Algorithm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RuFerdZ%2FSum-of-Three-Algorithm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RuFerdZ%2FSum-of-Three-Algorithm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RuFerdZ","download_url":"https://codeload.github.com/RuFerdZ/Sum-of-Three-Algorithm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243382780,"owners_count":20282007,"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":[],"created_at":"2024-11-19T04:58:50.615Z","updated_at":"2025-03-13T09:41:47.663Z","avatar_url":"https://github.com/RuFerdZ.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sum-of-Three-Algorithm\n\u003ci\u003eAn IntelliJ project\u003c/i\u003e\n\u003cp\u003eThis is a Algorithm Where all combinations of 3 numbers from a list of numbers, ranging -50 to +50 (in multiples of 5), is to added together to give a sum of 0.\nThe output will be the number of combinations that gave a sum of 0.\u003c/p\u003e\n\u003cbr\u003e\n\n\u003ci\u003eNote: The \u003cb\u003e\"SumOfThree.py\"\u003c/b\u003e Python file is there to help you easily generate a number list, of any length (between -50 and 50 in multiples of 5)\n, and write it to a text file.\u003c/i\u003e\n\n\u003cbr\u003e\n\u003col\u003e\n  \u003cli\u003e\n  \u003ch3\u003eSumOfThree\u003c/h3\u003e\n  \u003cp\u003eThis is a program where the number list is \u003cb\u003eloaded from a text file\u003c/b\u003e \"SumOfThree.txt\" to an \u003cb\u003eArrayList\u003c/b\u003e and the Sum of three Algorithms is run upon them\u003c/p\u003e\n  \u003c/li\u003e\n  \n  \u003cli\u003e\n  \u003ch3\u003eSumOfThree_v2\u003c/h3\u003e\n  \u003cp\u003eThis is a program where the number list is \u003cb\u003eloaded from a text file\u003c/b\u003e \"SumOfThree.txt\" to an ArrayList, where the \u003cb\u003eArrayList is then converted to an Array\u003c/b\u003e, and the Sum of three Algorithms is run upon them\u003c/p\u003e\n  \u003c/li\u003e\n  \n  \u003cli\u003e\n  \u003ch3\u003eSumOfThree_v3\u003c/h3\u003e\n  \u003cp\u003eIn this case the numbers are \u003cb\u003ehard-coded into a Array\u003c/b\u003e at the beginning itself, and so it uses this array to Sum of Three Algorithm\u003c/p\u003e\n  \u003c/li\u003e\n\u003c/ol\u003e\n\n![](image/table.png)\n![](image/graph.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruferdz%2Fsum-of-three-algorithm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruferdz%2Fsum-of-three-algorithm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruferdz%2Fsum-of-three-algorithm/lists"}