{"id":27430402,"url":"https://github.com/yll0rd/nesting-structure-comparison-exercise","last_synced_at":"2025-10-14T05:21:34.598Z","repository":{"id":65262489,"uuid":"589123729","full_name":"yll0rd/Nesting-Structure-Comparison-exercise","owner":"yll0rd","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-15T09:35:46.000Z","size":2,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T14:58:03.614Z","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/yll0rd.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":"2023-01-15T06:00:50.000Z","updated_at":"2023-07-15T11:59:47.000Z","dependencies_parsed_at":"2023-01-16T01:15:32.892Z","dependency_job_id":null,"html_url":"https://github.com/yll0rd/Nesting-Structure-Comparison-exercise","commit_stats":null,"previous_names":["yll0rd/nesting-structure-comparison-exercise"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yll0rd/Nesting-Structure-Comparison-exercise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yll0rd%2FNesting-Structure-Comparison-exercise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yll0rd%2FNesting-Structure-Comparison-exercise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yll0rd%2FNesting-Structure-Comparison-exercise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yll0rd%2FNesting-Structure-Comparison-exercise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yll0rd","download_url":"https://codeload.github.com/yll0rd/Nesting-Structure-Comparison-exercise/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yll0rd%2FNesting-Structure-Comparison-exercise/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018015,"owners_count":26086237,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-04-14T14:43:21.096Z","updated_at":"2025-10-14T05:21:34.558Z","avatar_url":"https://github.com/yll0rd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nesting-Structure-Comparison-exercise\nA function/method that returns True when its argument is an array that has the same nesting structures and same corresponding length of nested arrays as the first array.\n\nFor example:\n\n**should return True**  \nsame_structure_as([ 1, 1, 1 ], [ 2, 2, 2 ] )  \nsame_structure_as([ 1, [ 1, 1 ] ], [ 2, [ 2, 2 ] ] )\n\n**should return False**   \nsame_structure_as([ 1, [ 1, 1 ] ], [ [ 2, 2 ], 2 ] )  \nsame_structure_as([ 1, [ 1, 1 ] ], [ [ 2 ], 2 ] )\n\n**should return True**    \nsame_structure_as([ [ [ ], [ ] ] ], [ [ [ ], [ ] ] ] )\n\n**should return False**  \nsame_structure_as([ [ [ ], [ ] ] ], [ [ 1, 1 ] ] )\n  \nThe exercise is on [Codewars](https://www.codewars.com/kata/520446778469526ec0000001/train/python) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyll0rd%2Fnesting-structure-comparison-exercise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyll0rd%2Fnesting-structure-comparison-exercise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyll0rd%2Fnesting-structure-comparison-exercise/lists"}