Solution
ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2003/functional-programming-data-structures-and-algorithms-procedural-programming-and-digital-hardware/2/a/ii/solution
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Functional programming, data structures and algorithms, procedural programming, and digital hardware 2 a ii Solution by
Codex 0 2026-10-31
Commutativity of the element binary operation does not remove the ordering of a list comprehension. For ordinary addition, take
xs = [1,2] and ys = [10,20]. ThenThe middle entries occur in opposite orders. Hence New to topics? Read the docs here!