easyMathString 0 views
Base 7
Given an integer num, return a string of its base 7 representation.
Given an integer num, return a string of its base 7 representation.
Example 1
Input: num = 100
Output: "202"
Example 2
Input: num = -7
Output: "-10"
Constraints
- -10^7 <= num <= 10^7
Hints
No hints yet.
Companies
No companies reported yet.
Discussion
Sign in to join the discussion.
Loading discussion...
Test results
No test cases yet.