We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aed785c commit 430d0d8Copy full SHA for 430d0d8
src/com/jwetherell/algorithms/strings/StringInformations.java
@@ -22,7 +22,7 @@ public class StringInformations {
22
* @return maximal length of prefix-suffix for each prefix of the string text
23
*/
24
public static List<Integer> getPrefSufTable(String text) {
25
- List<Integer> prefSufTable = new ArrayList<>();
+ List<Integer> prefSufTable = new ArrayList<Integer>();
26
if(text.length() == 0) return prefSufTable;
27
prefSufTable.add(0);
28
for(int i = 1; i<text.length(); i++) {
0 commit comments