Skip to content

Commit

Permalink
Merge pull request jamesroutley#10 from antonmedv/patch-1
Browse files Browse the repository at this point in the history
Add missing parentheses
  • Loading branch information
jamesroutley committed Aug 24, 2017
2 parents 71fafd7 + 65f4d91 commit 6dd90c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 03-hashing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ Let's try the hash function out:
```
hash("cat", 151, 53)
hash = 151**2 * 99 + 151**1 * 97 + 151**0 * 116 % 53
hash = 2257299 + 14647 + 116 % 53
hash = 2272062 % 53
hash = (151**2 * 99 + 151**1 * 97 + 151**0 * 116) % 53
hash = (2257299 + 14647 + 116) % 53
hash = (2272062) % 53
hash = 5
```

Expand Down

0 comments on commit 6dd90c6

Please sign in to comment.