{"id":20103478,"url":"https://github.com/pythonlessons/quadigi_task","last_synced_at":"2025-03-02T17:24:40.940Z","repository":{"id":105024341,"uuid":"523468956","full_name":"pythonlessons/QuaDigi_task","owner":"pythonlessons","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-12T05:53:16.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T04:42:00.119Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/pythonlessons.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":"2022-08-10T19:16:56.000Z","updated_at":"2022-08-12T10:22:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"0efedd92-9112-4e4f-933e-4cb86fabc20a","html_url":"https://github.com/pythonlessons/QuaDigi_task","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/pythonlessons%2FQuaDigi_task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonlessons%2FQuaDigi_task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonlessons%2FQuaDigi_task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonlessons%2FQuaDigi_task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pythonlessons","download_url":"https://codeload.github.com/pythonlessons/QuaDigi_task/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241543036,"owners_count":19979452,"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-13T17:36:08.755Z","updated_at":"2025-03-02T17:24:40.914Z","avatar_url":"https://github.com/pythonlessons.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QuaDigi_task Exercise \r\n\r\n## Part 1\r\nYou were given a map (2 dimensional grid) where each cell is either forest (marked as X) or grassland (marked as O).  \r\nWrite a script that gets number of isolated forests on the map. Forest is formed of cells X that are connected in one of 8 directions. In case code is not working, please explain the search strategy. \r\n(Example on next page) \r\n\r\n## Example: \r\nThere are two forests in the map (red and green) bellow: \r\n0X0X0 \r\n00XX0 \r\n00000 \r\n0XX00 \r\n\r\n## Part 2\r\nAdd some tests (2-3) for the task above.\r\nIt would be preferable to use unittest library to create assertions for methods.\r\nIt would be nice if the tests are written in a separate file but not necessary.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonlessons%2Fquadigi_task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythonlessons%2Fquadigi_task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonlessons%2Fquadigi_task/lists"}