{"id":19627064,"url":"https://github.com/brookr/fizzbuzz-1","last_synced_at":"2026-03-03T03:02:13.631Z","repository":{"id":66661716,"uuid":"42195015","full_name":"brookr/fizzbuzz-1","owner":"brookr","description":"fizzbuzz playground","archived":false,"fork":false,"pushed_at":"2015-09-08T21:34:44.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T12:52:28.968Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"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/brookr.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}},"created_at":"2015-09-09T17:56:04.000Z","updated_at":"2015-10-25T18:26:25.000Z","dependencies_parsed_at":"2023-02-21T12:15:22.287Z","dependency_job_id":null,"html_url":"https://github.com/brookr/fizzbuzz-1","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/brookr%2Ffizzbuzz-1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brookr%2Ffizzbuzz-1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brookr%2Ffizzbuzz-1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brookr%2Ffizzbuzz-1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brookr","download_url":"https://codeload.github.com/brookr/fizzbuzz-1/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240926398,"owners_count":19879737,"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-11T11:48:23.429Z","updated_at":"2026-03-03T03:02:08.610Z","avatar_url":"https://github.com/brookr.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eFizzBuzz Challenge\u003c/h1\u003e\n\n\u003cp\u003e\u003cstrong\u003eThe challenge:\u003c/strong\u003e\u003c/p\u003e\n\n\u003cp\u003e\n\u003cem\u003eWrite a method that takes one number as an argument. For multiples of three return “Fizz”, and for the multiples of five return “Buzz”. For numbers which are multiples of both three and five return “FizzBuzz”, and in all other cases return the number.\u003c/em\u003e\n\u003c/p\u003e\n\n\u003cp\u003e\nAdd one file to solve this as stated above with the simplest, most readable code you can manage.\n\u003c/p\u003e\n\n\u003ch2\u003eApproach\u003c/h2\u003e\n\n\u003cp\u003eI used a filter down approach where the most specific case is caught first then it was filtered down through less specific checks.\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrookr%2Ffizzbuzz-1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrookr%2Ffizzbuzz-1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrookr%2Ffizzbuzz-1/lists"}