Question: 10. We want to take the command blocks delett, replace, and asd and eomert them from comrands to reporters so that they return new lists

We want to take the command blocks delett, replace, and asd and eomert them from comrands to reporters so that they return new lists and dont modity their inout list. What would be needed to reimplement them as reporters as shown in each example? (we also add a bonus reporter, called ooly tse ith elenents). You may assume that the input list contains distinct elements fie, theyre all difforsaty. a) Can be done with 1 map Can be done with 1 keep Nust be done with a map and keep together None of these b) Can be done with 1 map Can be done with 1 keep Must be done with a map and keep together None at thele c). Can be dorw with 1 map Cen be done weh 1 keep Mut be done with a map and keep together thene of these (d) C Cen be doce with 1 map Can ne onde wiln t Letp. Vust be done inth i map ivd keep tugeter Can be done with 1 map Can be done with 1 keep Must be done with a map and keep together None of these e) Can be done with 1 map Can be done with 1 keep Must be done with a map and keep together None of these f) conly the (2) the elements of fire A. only the [5. th elements of (ilst [ []] anly the S th olements of Fin A Can be done with 1map Can be done with 1 keep Must be done with a map and keep together None of these
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
