Skip to content

Instantly share code, notes, and snippets.

@harshraj22
Created December 21, 2019 05:36
Show Gist options
  • Save harshraj22/f5f6caa99e9741f35d46284835917edf to your computer and use it in GitHub Desktop.
Save harshraj22/f5f6caa99e9741f35d46284835917edf to your computer and use it in GitHub Desktop.
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/trie_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
typedef trie<string,null_type,
trie_string_access_traits<>,pat_trie_tag,
trie_prefix_search_node_update>
pref_trie;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment