Transparent_heart's blog

By Transparent_heart, history, 7 days ago, In English

Hello everyone! Recently, I've been having trouble with a hash task.

The task

I also have two questions:

  1. How can we solve it by using hashing?
  2. Are there any suitable solutions other than hashing?

Update when I'm done typing: I've just come up with a solution using the two pointers method. It's not funny. I was stuck on it for hours! But I still wonder if hashing works.

Full text and comments »

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