Cognizant interview question

Two Sum Digit Code in any programming language