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:
-107 <= num <= 107Solutions for this problem are being prepared.
Try solving it yourselfLecture 7: LeetCode Problem Solving Session • CodeHelp - by Babbar • 921,595 views views
Watch 9 more video solutions →Practice Base 7 with our built-in code editor and test cases.
Practice on FleetCode