Cvent Interview Question

Pseudocode for converting an integer to binary