Fast Enterprises Interview Question

Write a pseudocode function that converts a number into its binary representation