What is the output of the following code?
sc.parallelize(array(1L,("SFO")),(2L,("ORD")),(3L,("DFW"))))
va1 routes= sc.parallelize
(array(edge(1L,2L,1800),edge(2L,3L,800),edge(3L,1L,1400)))
va1 nowhere ="nowhere"
va1 graph - graph(airports,routes,nowhere)
graph.triplets.collect().foreach(ptintln)
Option a) (SFO,ORD,1800)
(ORD,DFW,800)
(DFW,SFO,1400)
Option b) (1,2,1800)
(2,3,800)
(3,1,1400)
Option c) ((1,SFO),(2,ORD),1800)
((2,ORD),(3,DFW),800)
((3,DFW),(1,SFO),1400)
Option d) run time error