Search⌘ K
AI Features

Base 7

Base 7 asks you to convert a given integer, including negative values, into and return its equivalent as a string written using base-seven digits.

Statement

Given an integer num, return a string representing its base 77 equivalent.

Constraints: ...