LTM Limited interview question

basic coding problems about any language