https://github.com/mohammadhasanii/fanap-internship-challenge
Solutions to the Software Engineering internship coding challenge from Fanap, implemented in Python
https://github.com/mohammadhasanii/fanap-internship-challenge
algorithms coding-challenge fanap problem-solving python software-engineering
Last synced: 30 days ago
JSON representation
Solutions to the Software Engineering internship coding challenge from Fanap, implemented in Python
- Host: GitHub
- URL: https://github.com/mohammadhasanii/fanap-internship-challenge
- Owner: mohammadhasanii
- Created: 2025-09-08T08:20:36.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2025-09-08T09:46:44.000Z (11 months ago)
- Last Synced: 2025-09-20T19:44:08.884Z (10 months ago)
- Topics: algorithms, coding-challenge, fanap, problem-solving, python, software-engineering
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fanap Internship Challenge
This repository contains my solutions for the Fanap software engineering internship coding challenge. The solutions for all five mandatory problems are included.
Project Link: `https://github.com/mohammadhasanii/Fanap-Internship-Challenge`
---
## Project Structure
- `solutions.py`: Contains all the functions that solve the challenge problems.
- `main.py`: A script to run all the functions and print their outputs to demonstrate they work correctly.
---
## Getting Started
### 1. Clone the Repository
```sh
git clone https://github.com/mohammadhasanii/Fanap-Internship-Challenge.git
```
## How to Run
To see the output for all implemented solutions, run the `main.py` script. This script acts as a demonstration for each function.
```bash
python3 main.py
or
py main.py
```
## My Approach
I'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.
Regarding 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.