Skip to content

Commit bd23246

Browse files
authored
Merge pull request kodecocodes#714 from billbarbour/master
Fix prime number issue in Rabin-Karp
2 parents 479bfd0 + 444b993 commit bd23246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rabin-Karp/Rabin-Karp.playground/Contents.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ print("Hello, Swift 4!")
88
import UIKit
99

1010
struct Constants {
11-
static let hashMultiplier = 69069
11+
static let hashMultiplier = 69061
1212
}
1313

1414
precedencegroup PowerPrecedence { higherThan: MultiplicationPrecedence }

0 commit comments

Comments
 (0)