
2. Consider the mystery) method. mystery(List L, int acc) if L.empty) then print acc else if L.first )+acc is even then print L.firstO mystery(L, 2*acc-L.firstO+1) else if L.first()+acc is odd then mystery(L.rest), L.first) +acc) print L.firstO What is displayed then the function is called with list L-[1,3,,2,5,4,9] and acc 0? Show transcribed image text
Expert Answer
An answer will be send to you shortly. . . . .