{"id":31206292,"url":"https://github.com/mohammadhasanii/fanap-internship-challenge","last_synced_at":"2026-06-29T05:31:32.026Z","repository":{"id":313769287,"uuid":"1052560473","full_name":"mohammadhasanii/Fanap-Internship-Challenge","owner":"mohammadhasanii","description":"Solutions to the Software Engineering internship coding challenge from Fanap, implemented in Python","archived":false,"fork":false,"pushed_at":"2025-09-08T09:46:44.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-20T19:44:08.884Z","etag":null,"topics":["algorithms","coding-challenge","fanap","problem-solving","python","software-engineering"],"latest_commit_sha":null,"homepage":"","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/mohammadhasanii.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-08T08:20:36.000Z","updated_at":"2025-09-08T09:49:26.000Z","dependencies_parsed_at":"2025-09-08T11:35:27.787Z","dependency_job_id":"19403f9f-8a19-4528-9430-5cf7c7a6580a","html_url":"https://github.com/mohammadhasanii/Fanap-Internship-Challenge","commit_stats":null,"previous_names":["mohammadhasanii/fanap-internship-challenge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mohammadhasanii/Fanap-Internship-Challenge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FFanap-Internship-Challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FFanap-Internship-Challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FFanap-Internship-Challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FFanap-Internship-Challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohammadhasanii","download_url":"https://codeload.github.com/mohammadhasanii/Fanap-Internship-Challenge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FFanap-Internship-Challenge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34915001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"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":["algorithms","coding-challenge","fanap","problem-solving","python","software-engineering"],"created_at":"2025-09-20T19:31:07.169Z","updated_at":"2026-06-29T05:31:31.970Z","avatar_url":"https://github.com/mohammadhasanii.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fanap Internship Challenge\n\nThis repository contains my solutions for the Fanap software engineering internship coding challenge. The solutions for all five mandatory problems are included.\n\nProject Link: `https://github.com/mohammadhasanii/Fanap-Internship-Challenge`\n\n---\n\n## Project Structure\n\n-   `solutions.py`: Contains all the functions that solve the challenge problems.\n-   `main.py`: A script to run all the functions and print their outputs to demonstrate they work correctly.\n\n---\n\n## Getting Started\n\n### 1. Clone the Repository\n```sh\ngit clone https://github.com/mohammadhasanii/Fanap-Internship-Challenge.git\n```\n\n\n## How to Run\n\nTo see the output for all implemented solutions, run the `main.py` script. This script acts as a demonstration for each function.\n\n```bash\npython3 main.py\nor\npy main.py\n```\n\n## My Approach\n\nI've tried to keep the solutions simple and straightforward, focusing on clean and readable code. I'm aware that Python has many advanced tricks and libraries, but I chose a more fundamental approach for this challenge.\n\nRegarding testing, the challenge PDF mentioned that no advanced tools are needed. While I regularly use frameworks like `pytest` for unit testing, I interpreted that guideline as a request to stick to the core language features. Therefore, I've used the `main.py` file to clearly demonstrate the correctness of each function with sample inputs, rather than adding an external testing library.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammadhasanii%2Ffanap-internship-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohammadhasanii%2Ffanap-internship-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammadhasanii%2Ffanap-internship-challenge/lists"}