Review and Prepare for Test 2

Slides:



Advertisements
Similar presentations
Computer Science CS 330: Algorithms Pre-Quiz Summary Gene Itkis.
Advertisements

Upcoming schedule F 11/11 hw#4 due F 11/20 midterm #2.
Data Structures & Algorithms What The Course Is About s Data structures is concerned with the representation and manipulation of data. s All programs.
Midterm Exam Two Tuesday, November 25 st In class cumulative.
Upcoming schedule F 11/12 hw#4 due F 11/19 hw#5 due F 11/25 midterm #2.
Data Structures Lecture 1 : Model Course Syllabi 0 Dr. Essam Halim Houssein Lecturer, Faculty of Computers and Informatics, Benha University.
APS105 Sorting. Sorting is a commonly needed function –itunes can sort your song library different ways –excel spreadsheet can sort a column of numbers.
General Data Structures and Algorithms CS 244 Brent M. Dingle, Ph.D. Department of Mathematics, Statistics, and Computer Science University of Wisconsin.
Maps and Dictionaries Data Structures and Algorithms CS 244 Brent M. Dingle, Ph.D. Department of Mathematics, Statistics, and Computer Science University.
Linked Lists part 2 CS 244 Brent M. Dingle, Ph.D. Game Design and Development Program Department of Mathematics, Statistics, and Computer Science University.
Review and Prepare for Test 1 Data Structures and Algorithms CS 244 Brent M. Dingle, Ph.D. Department of Mathematics, Statistics, and Computer Science.
Pointer and Array Lists Chapter 3, Summary CS 244 Brent M. Dingle, Ph.D. Game Design and Development Program Department of Mathematics, Statistics, and.
Review and Prepare for Test 3 CS 244 Brent M. Dingle, Ph.D. Game Design and Development Program Department of Mathematics, Statistics, and Computer Science.
Iterators, Lists, and Sequences Data Structures and Algorithms CS 244 Brent M. Dingle, Ph.D. Department of Mathematics, Statistics, and Computer Science.
Bubble Sort Data Structures and Algorithms CS 244 Brent M. Dingle, Ph.D. Game Design and Development Program Department of Mathematics, Statistics, and.
New Mexico Computer Science For All Sorting Algorithms Maureen Psaila-Dombrowski.
Priority Queues, Trees, and Huffman Encoding CS 244 This presentation requires Audio Enabled Brent M. Dingle, Ph.D. Game Design and Development Program.
HelloWorld – GameOver CS 244 – Data Structures and Algorithms Department of Mathematics, Statistics, and Computer Science University of Wisconsin – Stout.
Hanoi Towers Big Oh Recursion Data Structures and Algorithms CS 244 Brent M. Dingle, Ph.D. Department of Mathematics, Statistics, and Computer Science.
Searching CS 244 Brent M. Dingle, Ph.D. Game Design and Development Program Department of Mathematics, Statistics, and Computer Science University of Wisconsin.
WELCOME to CS244 Brent M. Dingle, Ph.D Game Design and Development Program Mathematics, Statistics and Computer Science University of Wisconsin -
Teacher Talk There has never been a better time to teach Computer Science 2.We can learn from Chemistry, Physics, Biology, …
Priority Queues and Sorting CS 244 Brent M. Dingle, Ph.D. Game Design and Development Program Department of Mathematics, Statistics, and Computer Science.
Linked Lists part 1 CS 244 Brent M. Dingle, Ph.D. Game Design and Development Program Department of Mathematics, Statistics, and Computer Science University.
© 2014 Goodrich, Tamassia, Goldwasser Singly Linked Lists1 Presentation for use with the textbook Data Structures and Algorithms in Java, 6 th edition,
Digital Image Processing
Merge Sort Data Structures and Algorithms CS 244 Brent M. Dingle, Ph.D. Department of Mathematics, Statistics, and Computer Science University of Wisconsin.
Final Exam Tuesday, December 22nd 2:00 - 3:50pm room 102 Warren Weaver Hall.
Quicksort Data Structures and Algorithms CS 244 Brent M. Dingle, Ph.D. Game Design and Development Program Department of Mathematics, Statistics, and Computer.
Heap Sorting and Building
Priority Queues and Heaps Data Structures and Algorithms CS 244 Brent M. Dingle, Ph.D. Department of Mathematics, Statistics, and Computer Science University.
Reading from a file, Sorting, and a little Searching Data Structures and Algorithms CS 244 Brent M. Dingle, Ph.D. Department of Mathematics, Statistics,
Department of Computer Science 1 Some Practice Let’s practice for the final a little bit. OK?
Priority Queues CS 244 Brent M. Dingle, Ph.D. Game Design and Development Program Department of Mathematics, Statistics, and Computer Science University.
Linked Lists Data Structures and Algorithms CS 244 Brent M. Dingle, Ph.D. Department of Mathematics, Statistics, and Computer Science University of Wisconsin.
Trees Data Structures and Algorithms CS 244 Brent M. Dingle, Ph.D. Department of Mathematics, Statistics, and Computer Science University of Wisconsin.
Hanoi Towers part 1 CS 244 Brent M. Dingle, Ph.D. Game Design and Development Program Department of Mathematics, Statistics, and Computer Science University.
Take the Test Data Structures and Algorithms CS 244 Brent M. Dingle, Ph.D. Department of Mathematics, Statistics, and Computer Science University of Wisconsin.
1 i206: Lecture 17: Exam 2 Prep ; Intro to Regular Expressions Marti Hearst Spring 2012.
بسم الله الرحمن الرحيم شرح جميع طرق الترتيب باللغة العربية
CS16: Introduction to Algorithms and Data Structures
Chapter 11 Sorting Acknowledgement: These slides are adapted from slides provided with Data Structures and Algorithms in C++, Goodrich, Tamassia and Mount.
Sorting.
Merge Sort 1/12/2018 9:44 AM Presentation for use with the textbook Data Structures and Algorithms in Java, 6th edition, by M. T. Goodrich, R. Tamassia,
Sorting With Priority Queue In-place Extra O(N) space
Memory Management Memory Areas and their use Memory Manager Tasks:
Sequences 6/3/2018 9:11 AM Presentation for use with the textbook Data Structures and Algorithms in Java, 6th edition, by M. T. Goodrich, R. Tamassia,
Doubly Linked Lists 6/3/2018 Presentation for use with the textbook Data Structures and Algorithms in Java, 6th edition, by M. T. Goodrich, R. Tamassia,
Memory Management Memory Areas and their use Memory Manager Tasks:
More on Merge Sort CS 244 This presentation is not given in class
Data Structures and Analysis (COMP 410)
Data Structures and Algorithms
Doubly Linked Lists or Two-way Linked Lists
CS212D: Data Structures Week 5-6 Linked List.
CSS 342 Data Structures, Algorithms, and Discrete Mathematics I
FLIPPED CLASSROOM ACTIVITY CONSTRUCTOR – USING EXISTING CONTENT
CS2013 Lecture 4 John Hurley Cal State LA.
Sub-Quadratic Sorting Algorithms
Sorting And Searching CSE116A,B 2/22/2019 B.Ramamurthy.
Sorting And Searching CSE116A,B 2/23/2019 B.Ramamurthy.
Merge Sort 2/23/ :15 PM Merge Sort 7 2   7  2   4  4 9
Copyright © Aiman Hanna All rights reserved
Copyright © Aiman Hanna All rights reserved
Sorting And Searching CSE116A,B 4/6/2019 B.Ramamurthy.
CS148 Introduction to Programming II
Copyright © Aiman Hanna All rights reserved
Memory Management Memory Areas and their use Memory Manager Tasks:
CS148 Introduction to Programming II
Data Structures and Algorithms CS 244
CMPT 225 Lecture 5 – linked list.
Presentation transcript:

Review and Prepare for Test 2 Data Structures and Algorithms CS 244 Brent M. Dingle, Ph.D. Department of Mathematics, Statistics, and Computer Science University of Wisconsin – Stout Based on the book: Data Structures and Algorithms in C++ (Goodrich, Tamassia, Mount) Some content from Data Structures Using C++ (D.S. Malik)

Points of Note Next class, there is a Test More on this shortly

Previously Take Home Online Quiz Go over answers Time to take it ended right before this class Go over answers

Big Oh – Again Because you can never get enough

Linked Lists How are they implemented in C++ Singly and Doubly Linked Node and pointer Singly and Doubly Linked Be able to read code Use pointers Allocate and De-allocate nodes

Summary of Sorting Algorithms (so far) Time Notes Selection Sort O(n2) Slow, in-place For small data sets Insertion Sort Bubble Sort Heap Sort O(nlog n) Fast, in-place For large data sets Merge Sort O(nlogn) Fast, sequential data access For huge data sets Quick Sort Assumes key values are random and uniformly distributed Place holder for others we have not yet seen

Improv Go through previous lectures and highlight additional things Take Questions

Questions Any questions that have not yet been asked and or answered

The End It says, The End Go Study Do Well