leetcode/0504_base-7
Sangeeth Sudheer 74770ca9b1 feat(0504_base-7): add py3 soln 2022-04-11 12:59:55 +05:30
..
python3 feat(0504_base-7): add py3 soln 2022-04-11 12:59:55 +05:30
README.md feat(0504_base-7): add py3 soln 2022-04-11 12:59:55 +05:30

README.md

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 <= 107