Coding Challenge · BEGINNER
You are given a list of cities and direct flight connections between them. Each city is represented by a unique integer, and each connection is represented as a pair city1, city2, indicating a direct flight between city1 and city2. Write a function to determine if it is possible to travel between two specified cities u…