malviyan_shiv's blog

By malviyan_shiv, history, 6 months ago, In English,

I am struggling to find a good article on implementing trie using array. I did get some code implementing the same and attempted to read them but unable to beat my doubts!!! Please share the idea or link of some good article.

Read more »

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

By malviyan_shiv, history, 8 months ago, In English,

In Codeforces Round #538 (Div. 2), I submitted the solution for problem C and got WA on test case 4 ( solution link ). I checked it offline and it gave correct output for test case 4. I also checked it on online compiler ideone, and it also gave the correct result. I tried submitting in different versions of C++ ( an illogical attempt and so )... failed. Please help me to find the cause of ambiguity ?

Read more »

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it