Advertisement
Guest User

Untitled

a guest
Sep 26th, 2022
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. Problem:
  2. ```
  3. 1 is connected to 2.
  4. 1 is connected to 4.
  5. ```
  6. Question:
  7. ```
  8. What is the shortest path from 4 to 1?
  9. ```
  10. Answer:
  11. ```
  12. - 4 to 1
  13. ```
  14.  
  15.  
  16. Problem:
  17. ```
  18. 3 is connected to 2.
  19. 4 is connected to 3.
  20. ```
  21. Question:
  22. ```
  23. What is the shortest path from 2 to 4?
  24. ```
  25. Answer:
  26. ```
  27. - 2 to 3
  28. - 3 to 4
  29. ```
  30.  
  31.  
  32. Problem:
  33. ```
  34. 3 is connected to 2.
  35. 4 is connected to 3.
  36. 5 is connected to 6.
  37. ```
  38. Question:
  39. ```
  40. What is the shortest path from 2 to 6?
  41. ```
  42. Answer:
  43. ```
  44. There is no path from 2 to 6
  45. ```
  46.  
  47.  
  48.  
  49. Problem:
  50. ```
  51. 1 is connected to 10.
  52. 14 is connected to 10.
  53. 12 is connected to 14.
  54. ```
  55. Question:
  56. ```
  57. What is the shortest path from 1 to 14?
  58. ```
  59. Answer:
  60. ```
  61.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement