Please read the new rule regarding the restriction on the use of AI tools. ×

Pranav_20's blog

By Pranav_20, history, 13 months ago, In English

If anyone can share a good resource for learning Policy Based Data Structures (PBDS) of STL. I tried searching about them and found some videos but if someone has good articles that explain them in detail, please do share. Thanks!

Full text and comments »

  • Vote: I like it
  • -3
  • Vote: I do not like it

By Pranav_20, 13 months ago, In English

I was solving this problem, this was the code that I wrote initially in which I used vector for dp (CODE), but when I replaced it with a global array of the same size it got AC (Updated Code), Can anyone please explain what is the problem with using vector here, or an article which explains this would be helpful.

Thnaks!

Full text and comments »

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