i did not do as well as i thought no term test 1, mainly due to careless errors like returning a list instead of a functionallist. otherwise the term test was straight forward. hopefully ill argue back some marks.
today we learned about linked lists, which are nodes with a value and a pointer to the next node. i dont have that much experience with linked lists, but coming from Java i know that linked lists in java are much more efficient than regular arrays, as adding a value into a linked list is simple changing the pointer of the previous node, and pointing the new added node to the next one. otherwise you would have to split the array and add them together with the new data sandwiched in between, which is terribly inefficient.
hopefully the lab will have something with linked list for us to practice on.
No comments:
Post a Comment