{"id":22086222,"url":"https://github.com/imjaroiswebdev/pf_challenge","last_synced_at":"2025-03-23T22:18:28.474Z","repository":{"id":123516039,"uuid":"167876474","full_name":"imjaroiswebdev/pf_challenge","owner":"imjaroiswebdev","description":null,"archived":false,"fork":false,"pushed_at":"2019-01-28T09:32:17.000Z","size":52,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T05:28:23.843Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/imjaroiswebdev.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":"2019-01-28T00:49:45.000Z","updated_at":"2023-03-08T13:30:40.000Z","dependencies_parsed_at":"2023-04-09T22:48:58.933Z","dependency_job_id":null,"html_url":"https://github.com/imjaroiswebdev/pf_challenge","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/imjaroiswebdev%2Fpf_challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imjaroiswebdev%2Fpf_challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imjaroiswebdev%2Fpf_challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imjaroiswebdev%2Fpf_challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imjaroiswebdev","download_url":"https://codeload.github.com/imjaroiswebdev/pf_challenge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245175525,"owners_count":20572790,"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-01T01:22:19.671Z","updated_at":"2025-03-23T22:18:28.444Z","avatar_url":"https://github.com/imjaroiswebdev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PF Challenge\n\n## Excute\n\n```shell\n$ npm i\n$ npm run printMatrix\n$ npm test\n```\n\n## 1. Spiral Matrix\n\n__Def:__ Write a function named printMatrix, that takes an array of integers representing a 2d square matrix and the number of elements on each side as parameters. This function should start at the upper left hand corner of the matrix and print each element in a counterclockwise spiral.\n\n__Example:__ The 3x3 matrix\n\nIs represented by the array m, and the size n:\nThe result of executing the function printMatrix with m and n as parameters is: 123456789\n\n|1 8 7| |2 9 6| |3 4 5|\n\nm = [1, 8, 7, 2, 9, 6, 3, 4, 5] n=3\nValid values for the elements of m and n are: 0 \u003c= a ∈ m \u003c= 2^31-1 1 \u003c= n \u003c= 2^15\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimjaroiswebdev%2Fpf_challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimjaroiswebdev%2Fpf_challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimjaroiswebdev%2Fpf_challenge/lists"}