File tree 6 files changed +6
-5
lines changed
6 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ A typescript implementation of the **DLX** algorithm.
55
55
DLX is the Algorithm X that applied the dancing-link. The algorithm is used to
56
56
solve the exact-cover problem.
57
57
58
- If you are interested in this algorithm, you can check [ here] [ dlx ] .
58
+ If you are curious about this algorithm, you can visit [ here] [ dlx ] for more details .
59
59
60
60
61
61
## Install
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ A typescript implementation of the **Knuth-Shuffle** algorithm.
55
55
Knuth-Shuffle is a shuffle algorithm, which can complete the shuffle in $O(N)$
56
56
time complexity on the basis of only using a constant level of extra space.
57
57
58
- If you are interested in this algorithm, you can check [ here] [ knuth-shuffle ] .
58
+ If you are curious about this algorithm, you can visit [ here] [ knuth-shuffle ] for more details .
59
59
60
60
61
61
## Install
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ A typescript implementation of the **manacher** algorithm.
55
55
Manacher is a linear time algorithm for listing all the palindromes that appear
56
56
at the start of a given string.
57
57
58
- If you are interested in this algorithm, you can check [ here] [ manacher ] .
58
+ If you are curious about this algorithm, you can visit [ here] [ manacher ] for more details .
59
59
60
60
61
61
## Install
Original file line number Diff line number Diff line change 52
52
53
53
A typescript implementation of the ** Linear Sieve** algorithm for prime numbers.
54
54
55
- If you are interested in this algorithm, you can check [ here] [ sieve-prime ] .
55
+ If you are curious about this algorithm, you can visit [ here] [ sieve-prime ] for more details .
56
56
57
57
58
58
## Install
Original file line number Diff line number Diff line change 2
2
*
3
3
* @param N
4
4
* @returns
5
+ * @see https://me.guanghechen.com/post/math/number-theory/sieve/#heading-%E7%BA%BF%E6%80%A7%E7%AD%9B
5
6
*/
6
7
export function sievePrime ( N : number ) : number [ ] {
7
8
if ( N <= 1 ) return [ ]
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ A typescript implementation of the **sudoku** algorithm.
71
71
sudoku is a shuffle algorithm, which can complete the shuffle in $O(N)$
72
72
time complexity on the basis of only using a constant level of extra space.
73
73
74
- If you are interested in this algorithm, you can check [ here] [ sudoku ] .
74
+ If you are curious about this algorithm, you can visit [ here] [ sudoku ] for more details .
75
75
76
76
77
77
## Install
You can’t perform that action at this time.
0 commit comments