Skip to content

Instantly share code, notes, and snippets.

Dan Argue dargue3

  • Apple
  • Sunnyvale, CA
Block or report user

Report or block dargue3

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Trie.js
class Node {
constructor(character) {
this.edges = {};
this.data = undefined; // where we will store the flag data / capitalized names
this.character = character;
this.endOfWord = false;
}
}
export default class Trie extends Node {
You can’t perform that action at this time.