project lookup

lookup:
lab2/part1isort: selection sort over a heap arraymalloc, free, pointer arithmetic, valgrindAllocates an int array on the heap, fills it with random(), and sorts ascending and descending through one comparison-parameterised routine. Verified leak-free under valgrind.
lab3/part1mylist: generic linked list libraryvoid pointers, function pointers, static libraries, arA void* linked list with addFront, addAfter, findNode, traverseList, popFront, removeAllNodes, and a pointer-only reverseList that allocates nothing. Built into libmylist.a and reused by every later lab, including the database behind this page.
lab3/part2revecho: linked list driverfunction pointers, strcmp as a callback, library linkingPushes argv onto a mylist in reverse, prints it with traverseList and a printString callback, then finds an element with findNode using strcmp cast to the comparator type.
concepts/memorymanual memory management threadmalloc, free, valgrind, ownership, leaksEvery lab from 2 onward was checked under valgrind and reported zero leaks and zero errors. The linked list library makes ownership explicit: the list stores void pointers and never frees what it did not allocate.