Does the word "encounter" mean the same thing in "There was a brief encounter in the hallway." and "Their encounter was a matter of chance."?
the same meaning