We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc1bb98 commit 5fa6dacCopy full SHA for 5fa6dac
src/letters-words-prediction-trie/letters-words-prediction-trie.ts
@@ -12,11 +12,7 @@ export class LettersWordsPredictionTrie {
12
13
}
14
15
- public getBrain(): any {
16
- return this.brain
17
- }
18
-
19
- private addInput(input: string, brain: any): any {
+ public addInput(input: string, brain: any): any {
20
21
if (input.length == 0) return {}
22
@@ -55,4 +51,8 @@ export class LettersWordsPredictionTrie {
55
51
return (brain[character] !== undefined)
56
52
57
53
54
+ public getBrain(): any {
+ return this.brain
+ }
+
58
0 commit comments