HCLTech interview question

explain one coding question in any language