Encode Number

Encode a non-negative integer n into a binary string using the recurrence f(0) = "" and, for n > 0, f(n) = f(floor(n / 2)) + str(n % 2), where + is string concatenation and division is integer division. The result is the binary representation of n with no leading zeros, and the empty string represents zero. Return the encoded string.

Examples
Input: 0
Output: ""
Hints

Encode Number

Encode a non-negative integer n into a binary string using the recurrence f(0) = "" and, for n > 0, f(n) = f(floor(n / 2)) + str(n % 2), where + is string concatenation and division is integer division. The result is the binary representation of n with no leading zeros, and the empty string represents zero. Return the encoded string.