{"id":18709282,"url":"https://github.com/jojoee/coding-challenges","last_synced_at":"2025-07-30T12:35:54.823Z","repository":{"id":91700456,"uuid":"64665076","full_name":"jojoee/coding-challenges","owner":"jojoee","description":":trophy: For practicing coding challenge","archived":false,"fork":false,"pushed_at":"2019-02-18T22:06:14.000Z","size":88,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T15:56:56.919Z","etag":null,"topics":["coding-challenges"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jojoee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2016-08-01T12:30:09.000Z","updated_at":"2022-01-27T15:08:08.000Z","dependencies_parsed_at":"2024-04-22T19:50:55.560Z","dependency_job_id":null,"html_url":"https://github.com/jojoee/coding-challenges","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jojoee/coding-challenges","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fcoding-challenges","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fcoding-challenges/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fcoding-challenges/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fcoding-challenges/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jojoee","download_url":"https://codeload.github.com/jojoee/coding-challenges/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fcoding-challenges/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267867824,"owners_count":24157357,"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-07-30T02:00:09.044Z","response_time":70,"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":["coding-challenges"],"created_at":"2024-11-07T12:26:56.611Z","updated_at":"2025-07-30T12:35:54.782Z","avatar_url":"https://github.com/jojoee.png","language":"JavaScript","readme":"# Coding challenges\n[![Build Status](https://travis-ci.org/jojoee/coding-challenges.svg)](https://travis-ci.org/jojoee/coding-challenges) [![Greenkeeper badge](https://badges.greenkeeper.io/jojoee/coding-challenges.svg)](https://greenkeeper.io/)\n\nFor practicing coding challenge\n\n![Screenshot](https://raw.githubusercontent.com/jojoee/coding-challenges/master/screenshot/screenshot1.jpg \"Screenshot\")\n\n## Getting Started\n1. Install [Node.js](https://nodejs.org/en/)\n2. Set path (e.g. `cd C:\\xampp\\htdocs\\jojoee.com\\coding-challenges`)\n3. Install global: `npm install -g gulp`\n4. Install dependencies: `npm install`\n5. Start: `npm run test.watch` (to develop)\n\n## Note\n- Code style: [Airbnb](https://github.com/airbnb/javascript)\n\n## TODO\n- [ ] Refactor `Puzzle 1` into smaller functions and improve logic\n- [ ] Separate module\n- [ ] Implement [Shields.io](http://shields.io/)\n- [ ] Implement [JSHint](http://jshint.com/)\n- [ ] Implement [JSCS](http://jscs.info/)\n\n## Puzzle\nFind f(x1[, x2[, ...[, xn]]])\n\n### Puzzle 1\n```\n    x1                      x2                    f(x1, x2)\n\n1 | [\"ab\"]                | \"xxxxxxabxxxxx\"     | \"xxxxxx\u003cstrong\u003eab\u003c/strong\u003exxxxx\"\n2 | [\"ab\", \"bc\"]          | \"xxxxxxabxxbcxxx\"   | \"xxxxxx\u003cstrong\u003eab\u003c/strong\u003exx\u003cstrong\u003ebc\u003c/strong\u003exxx\"\n3 | [\"abbbbb\", \"bbbbbc\"]  | \"xxxxxxabbbbbcxxx\"  | \"xxxxxx\u003cstrong\u003ea\u003cstrong\u003ebbbbb\u003c/strong\u003ec\u003c/strong\u003exxx\"\n4 | [\"abbbbb\", \"bbb\"]     | \"xxxxxxabbbbbcxxx\"  | \"xxxxxx\u003cstrong\u003ea\u003cstrong\u003ebbb\u003c/strong\u003ebb\u003c/strong\u003ecxxx\"\n5 | [\"111\", \"2222\"]       | \"xxxxxxabbbbbcxxx\"  | \"xxxxxxabbbbbcxxx\"\n6 | [\"abbb\", \"2222\"]      | \"xxxxxxabbbbbcxxx\"  | \"xxxxxxabbbbbcxxx\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjojoee%2Fcoding-challenges","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjojoee%2Fcoding-challenges","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjojoee%2Fcoding-challenges/lists"}