AKS IT Services interview question

Coding questions on bitwise operators and recurssion.