TCS interview question

oops then project basic code