Interview Questions and Answers :: Brocade
Home > Experience Archives > Brocade > Interview Question Set 4 > Discussion
8. What data structure you use in a scenario, if you want to see if there is a path from one airport to another? How do u represent it mathematically? Hint: By using a Matrix. Say there are 'n' stations, you can create n*n array/matrix and initialize a[x][y] to 0 or 1 based on whether path is present from station x to station y.
Answer:
No Discussion on this question yet!
No Discussion on this question yet!