Activity for theucgeneralist.bsky.social
Active on:
Loading activity...
~4.1 You want to count the number of factors of 10^18. Which, as we saw, is going to take about 317 years to finish. So how do we do it? #Java #Algorithms #DataStructures
Bluesky network6d ago
~3.1 The number of times the "for loop" executes here is equal to the input value, A. What that means is, if A is 10, the loop will execute 10 times. If A is 100, it will run 100 times and so on. Now this might not seem like a problem, but it can quickly become one.
Bluesky network7d ago
How do you count the number of factors of a given number? First, you start with the count being 0.
Bluesky network8d ago