TATA ELXSI interview question

Mostly technical and coding question