Protech Solutions interview question

Solve a given coding problem ( around 5 of those )