Leetcode 504. Base 7
Convert the given integer to its base-7 string representation, preserving a leading '-' for negative numbers and returning "0" for zero.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.