Question d’entretien chez Aarki

Q: Write a function in Python that solves this problem...