malviyanshiv's blog

By malviyanshiv, 4 years ago, In English

I was giving this hiring contest ( already over ). I am stuck at this question. Needed some help

Full text and comments »

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

By malviyanshiv, history, 5 years 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.

Full text and comments »

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

By malviyanshiv, history, 5 years 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 ?

Full text and comments »

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