Question: Given the code below, working with lists, as defined in class: function interleave(Ist1, Ist2) { return Ist1.isEmpty() ? empty() : node(Ist1.head(), interleave(Ist2, Ist1.tail())); } function

Given the code below, working with lists, as defined in class: function interleave(Ist1, Ist2) \{ return Ist1.isEmpty() ? empty() : node(Ist1.head(), interleave(Ist2, Ist1.tail())); \} function revNums(lst) return Ist.isEmpty() ? 0 : Ist.head() + 10*revNums(Ist.tail()); \} Denoting lists with brackets, and given that list L1 is [3] and list L2 is [1,52, 55], what's the output of revNums(interleave(L1, L2))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
