Commit a3fb5865 authored by Tonia Yeung's avatar Tonia Yeung

Edit comments

parent 089824e0
...@@ -13,13 +13,11 @@ public class BloomFilterSolution { ...@@ -13,13 +13,11 @@ public class BloomFilterSolution {
int sum = 0; int sum = 0;
//take each letter of the string, convert it into ASCII multiple & by a prime number then perform the sum //take each letter of the string, convert it into ASCII integer representation & then perform the sum
for (int i = 0; i < s.length(); i++) { for (int i = 0; i < s.length(); i++) {
char character = s.charAt(i); char character = s.charAt(i);
// int multiplied = character *
sum = sum + character; sum = sum + character;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment