Given an integer n, return how many integers less than n can be written in base 4 using only the digits 0 and 1.
Unlock detailed company stats for this questionUpgrade
Community answers
No answers contributed by the community yet.
Related questions
You are given a function that can add only two single digits. Using it, write a function that adds two non-negative integers supplied as strings and returns the sum as a string.Given an array of n integers and a number k, find the maximum number of elements whose sum is less than k, and return their sum.Given a list of integers, return 1 if the integer is a power of 2 and 0 if it is not.Related courses

Course

Course
