LTM Limited interview question

simple coding problems, OOPS, project discussion