Good morning! Here's your coding interview problem for today.
This problem was asked by Amazon.
Write a function that takes a natural number as input and returns the number of digits the input has.
Constraint: don't use any loops.
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Good morning! Here's your coding interview problem for today.
This problem was asked by Amazon.
Write a function that takes a natural number as input and returns the number of digits the input has.
Constraint: don't use any loops.