0504. Base 7
https://leetcode.com/problems/base-7
Description
Given an integer num
, return a string of its base 7 representation.
Example 1:
Example 2:
Constraints:
-107 <= num <= 107
ac
Last updated
https://leetcode.com/problems/base-7
Given an integer num
, return a string of its base 7 representation.
Example 1:
Example 2:
Constraints:
-107 <= num <= 107
Last updated