HCLTech interview question

factorial number , magic number , reverse string, print the alternative string