Here's a question relating to graph theory that was asked in the International Kangaroo Maths Contest 2017. I am a college student and have a very less knowhow of graph theory. The question goes like this:
We have $10$ islands that have been connected by $15$ bridges.
What is the smallest number of bridges that may be eliminated so that it becomes impossible to get from $A$ to $B$ by bridge?
Answer: The answer given in the key is $3$, but I can't see how that might be.
What I did:
First of all I transferred the problem into graphical terms.
We have $10$ vertices connected by $15$ edges.
What is the smallest possible number of edges that when removed to make it impossible to find a path from $A$ to $B$?
So I considered that we can do this by 'isolating' either $A$ or $B$. This may be done by removing all the edges corresponding to either $A$ or $B$. The number of edges corresponding to $A$ is $4$ while those with $B$ are $5$. So the smallest number that can be the answer is $4$. So what is wrong with this method? How can be the answer, $3$, be reached?
Thanks for the attention.



MathFun123's answer shows that it is possible to remove three edges in this way, but not that three is the minimum.
To see that you can't do it with less than three, consider the following.
There are three completely separate paths from A to B shown. In order to cut off B from A, you need to remove at least one red edge to destroy the red path, and similarly at least one blue edge and at least one green edge. So at least three are needed.