This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TemplateContext.ts | |
export interface TemplateContext { | |
a: string; | |
b: string; | |
c: string; | |
} | |
---------------------------------------------------------------------------------------------------- | |
// App.component.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Trie { | |
private TrieNode root; | |
public Trie() { | |
this.root = new TrieNode(' '); | |
} | |
public boolean insert(String word,String meta) { | |
TrieNode iter=root; | |
TrieNode temp; |