paradoxpj / Codes-and-Programs

This Repository contains codes for various Algorithm and Data Structures. Feel free to contribute.
4 stars 12 forks source link

Create Number of Digits in O(1).java #2

Closed asaw4 closed 5 years ago

asaw4 commented 5 years ago

This program count the number of digits of an integer in O(1) time complexity using the Log function .