{"id":23086151,"url":"https://github.com/umarquez/summing_nums","last_synced_at":"2025-04-03T15:32:41.112Z","repository":{"id":148138536,"uuid":"238047337","full_name":"umarquez/summing_nums","owner":"umarquez","description":"This code extracts all the combinations of a list of numbers which sums the given total","archived":false,"fork":false,"pushed_at":"2020-02-05T04:09:14.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T04:25:44.019Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/umarquez.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-03T19:45:37.000Z","updated_at":"2020-02-05T04:09:16.000Z","dependencies_parsed_at":"2023-05-19T06:30:15.267Z","dependency_job_id":null,"html_url":"https://github.com/umarquez/summing_nums","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/umarquez%2Fsumming_nums","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umarquez%2Fsumming_nums/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umarquez%2Fsumming_nums/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umarquez%2Fsumming_nums/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umarquez","download_url":"https://codeload.github.com/umarquez/summing_nums/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247027824,"owners_count":20871600,"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-12-16T18:16:55.939Z","updated_at":"2025-04-03T15:32:41.093Z","avatar_url":"https://github.com/umarquez.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# summing_nums\nThis code extracts all the combinations of a list of numbers which sums the given total\n\n## Problem\nWrite a function which would take two variables as input \n\n- Variable 1(a list of numbers) - example [1, 2, 4, 7, 9, 11]\n- Variable 2(a target number) - example 11 \n- Output -  Return a list of all the combinations of numbers given in input 1 which adds up to target. The result of the above inputs would be [[4,7], [9,2], [11]].\n\n### More examples:\n\n- Input :- Variable 1 = [-1, 2, 5, 6] , Variable 2 = 5; Output = [[-1,6], [5]]\n- Input :- Variable 1 =  [1,4,5] Variable 2 = [13]; Output = None\n \n\n## Assumptions:-\nFor simplicity assume the below :\n\n- The list in input variable 1 contains only integers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumarquez%2Fsumming_nums","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumarquez%2Fsumming_nums","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumarquez%2Fsumming_nums/lists"}