Mphasis Interview Question

coding question1 and followed by another coding question and next followed by the core.