Programming Exercise 3


This exercise has two purposes: to strengthen your "data structures with pointers" skills and your debugging skills. You will implement a linked list version of the mathematical object called a "vector" and implement the inner-product (or dot-product). This is a trivial computation if vectors are implemented as arrays but becomes interesting when vectors are implemented as linked lists.

To start with, let's review vectors:

Details:

Submission: