What is the output of the following code?
sc.parallelize(Array(1L,("SFO")),(2L,("ORD")),(3L,("DFW"))))
val routes = sc.parallelize
Array(Edge(1L,2L,1800),Edge(2L,3L,800),Edge(3L,1L,1400)))
val nowhere = "nowhere"
val graph =Graph(airports,routes,nowhere)
graph.triplet.sortBy( ,attr, ascending=false).map(triplet=>
triplet.attr.toString + " " + triplet.scrAttr+" " +
triplet.dstAttr).collect.foreach(println)
a) 1800 ORD SFO
1400 DFW SFO
800 DFW ORD
B) 800 ORD SFO
1400 DFW SFO
1800 DFW ORD
C) 1800 DFW ORD
1400 DFW SFO
800 ORD SFO
D)Run time error