Schneider Electric Interview Question

Coding problems based on preferred language.