Danish_amin_01's blog

By Danish_amin_01, history, 4 years ago, In English

https://cses.fi/problemset/task/1731 , Can someone please explain me how to approach this problem?

  • Vote: I like it
  • +2
  • Vote: I do not like it

| Write comment?
»
4 years ago, # |
  Vote: I like it +11 Vote: I do not like it

Just trie harder.

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Can anyone help with this problem? How to solve with Trie? What does a trie node store?