1.18k likes | 1.29k Views
Algorithms and Data Structures. TEACH THAT. Lassie, what’s in this ADS2 course ? Will it be interesting?. woof!. Content. linked lists single/doubly-linked, insert, delete, find, min, max, … stacks push/pop/size bracket matching, RP calculator queues enqueue/dequeue/size
E N D
Algorithms and Data Structures TEACH THAT
Lassie, what’s in this ADS2 course ? Will it be interesting? woof!
Content • linked lists • single/doubly-linked, • insert, delete, find, min, max, … • stacks • push/pop/size • bracket matching, RP calculator • queues • enqueue/dequeue/size • circular queue (in array) • recursion • see above • big O
Continued Content • trees • n-ary trees: representations & properties • binary trees • representations & properties & traversals • binary search trees • insert/find/delete/traverse/height … • AVL trees • heap • insert/delete/sort • splay trees • red-black trees
Continued Content • skip lists • Sorting • bubble/insert/sift sort • merge sort • quick sort • bucket sort (pigeon hole sort) • bead sort • Dictionaries • maps and hash tables • open and closed hashing
Continued Content • 5 pieces of practical work • 2 of above are assessed • exam • lab every 2nd week • woof
Great! Algorithms & Data Structures Algorithms & Data Structures
my ADS2 website under construction (permanently) I hate moodle
Lassie, will there be anything in the course that is challenging and exciting?
Lassie, will you teach us to “THINK LIKE A COMPUTER SCIENTIST”?
Lassie, honestly, I’m not that experienced as a programmer. Will you help us with our programming?
If someone was to teach you to drive a car would they: • explain how the internal combustion engine works • take you through the intricacies of synchromesh gears • fully independent suspension, spring rates, and dampers • front and real wheel drive: pros and cons • basic aerodynamics • … • …
… or would they show you the knobs and levers and take you for a spin
Who cares? Machines are getting bigger, faster, cheaper … do efficient data structures and algorithms really matter?
An emotional attachment to algorithms and data structures An empirical study using the IMDB
An emotional attachment to algorithms and data structures An empirical study using the IMDB
An emotional attachment to algorithms and data structures An empirical study using the IMDB
An emotional attachment to algorithms and data structures An empirical study using the IMDB
An emotional attachment to algorithms and data structures We could run this in the class for 1st three entries above An empirical study using the IMDB
Quickly/Immediately they get to see Alg & DS can have a dramatic effect We use real data We use a big data set We show that there is an empirical side to CS Computer Science is a Science So? What was that about? This is 1st & 2nd lecture
It’s impossible to cover all the material we want to cover