Question, what is the runtime complexity of this for loop if dimensions is a LinkedList?