Skip to content

Commit

Permalink
Fix documentation in Rabin-Karp
Browse files Browse the repository at this point in the history
  • Loading branch information
felipernb committed Jul 10, 2014
1 parent e5c19cf commit a2981ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion algorithms/string/rabin_karp.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var base = 997;
*
* @param String
* @param String
* @return Boolean
* @return Integer
*/
var rabinKarp = function (s, pattern) {
if (pattern.length === 0) return 0;
Expand Down

0 comments on commit a2981ff

Please sign in to comment.