Блог пользователя Noogler_from_Google

Автор Noogler_from_Google, 3 года назад, По-английски

Given a directed graph we need to find a set of minimum vertices to be removed so that there will be no path from the given start node to the end node.

I tried to find the solution for this and I got to know that there is a solution with max-flow min-cut but I didn't get that. Or is there any other solution for this. By seeing the problem statement it looks pretty standard. Can anyone help me?

  • Проголосовать: нравится
  • -22
  • Проголосовать: не нравится

»
3 года назад, # |
  Проголосовать: нравится +20 Проголосовать: не нравится

This seems suspiciously like a question from an ongoing hiring test ;)

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I'm pretty sure this is from an ongoing contest, I got messaged the same question by someone else who I don't even know

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Remove the end node, answer is 1 :)