{"id":16194808,"url":"https://github.com/koko37/challenge-missing-digits","last_synced_at":"2025-03-19T04:30:49.418Z","repository":{"id":69920279,"uuid":"312433987","full_name":"koko37/challenge-missing-digits","owner":"koko37","description":"Code challenge (resolve missing digits)","archived":false,"fork":false,"pushed_at":"2020-11-13T00:56:45.000Z","size":1,"stargazers_count":9,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-11T08:24:34.626Z","etag":null,"topics":["coderbyte","coderbyte-solutions","javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/koko37.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}},"created_at":"2020-11-13T00:51:18.000Z","updated_at":"2024-08-21T10:27:12.000Z","dependencies_parsed_at":"2023-05-25T18:45:46.998Z","dependency_job_id":null,"html_url":"https://github.com/koko37/challenge-missing-digits","commit_stats":null,"previous_names":["koko37/challenge-missing-digits"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koko37%2Fchallenge-missing-digits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koko37%2Fchallenge-missing-digits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koko37%2Fchallenge-missing-digits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koko37%2Fchallenge-missing-digits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koko37","download_url":"https://codeload.github.com/koko37/challenge-missing-digits/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221721844,"owners_count":16869752,"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":["coderbyte","coderbyte-solutions","javascript"],"created_at":"2024-10-10T08:25:01.379Z","updated_at":"2024-10-27T19:23:52.991Z","avatar_url":"https://github.com/koko37.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Missing Digit\nHave the function MissingDigit(str) take the str parameter, which will be a simple mathematical formula with three numbers, a single operator (+, -, *, or /) and an equal sign (=) and return the digit that completes the equation. In one of the numbers in the equation, there will be an x character, and your program should determine what digit is missing. For example, if str is \"3x + 12 = 46\" then your program should output 4. The x character can appear in any of the three numbers and all three numbers will be greater than or equal to 0 and less than or equal to 1000000.\n\n#### Examples\n\n```\nInput: \"4 - 2 = x\"\nOutput: 2\nInput: \"1x0 * 12 = 1200\"\nOutput: 0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoko37%2Fchallenge-missing-digits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoko37%2Fchallenge-missing-digits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoko37%2Fchallenge-missing-digits/lists"}