Cognizant Interview Question

Decimal to binary. Binary to decimal comversions