You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: interview/Print_PrimeNumbers.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ int countPrimes(int n)
16
16
// Because 2,3,5,7 is prime numbers
17
17
```
18
18
19
-
How would you progrma this function? I think you maybe write like this:
19
+
How would you program this function? I think you maybe write like this:
20
20
21
21
```java
22
22
int countPrimes(int n) {
@@ -148,4 +148,4 @@ int countPrimes(int n) {
148
148
149
149
In parentheses, ther is the inverse of the prime number .The final result is O(N * loglogN),and readers interested in this can refer to the time complexity of the algorithm
150
150
151
-
That is all about how to find prime Numbers.The seemingly simple problem does has a lot of details to polish
151
+
That is all about how to find prime Numbers.The seemingly simple problem does has a lot of details to polish
0 commit comments