Review for Final Exam – cs411/511 Definitions (5 questions, 2 points each) Algorithm Analysis (3 questions, 3 points each) General Questions (3 questions,

Slides:



Advertisements
Similar presentations
Chapter 12 Binary Search Trees
Advertisements

Comp 122, Spring 2004 Binary Search Trees. btrees - 2 Comp 122, Spring 2004 Binary Trees  Recursive definition 1.An empty tree is a binary tree 2.A node.
SUNY Oneonta Data Structures and Algorithms Visualization Teaching Materials Generation Group Binary Search Tree A running demonstration of binary search.
©Brooks/Cole, 2003 Chapter 12 Abstract Data Type.
Data Structures, Search and Sort Algorithms Kar-Hai Chu
Midterm 2 Overview Fawzi Emad Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
TCSS 343, version 1.1 Algorithms, Design and Analysis Transform and Conquer Algorithms Presorting HeapSort.
TDDB57 DALG-C, DALG Exam Requirements Jan Maluszynski - HT 2006DALG-C.1 TDDB57 – DALG-C Examination Requirements.
Fall 2007CS 2251 Iterators and Tree Traversals. Fall 2007CS 2252 Binary Trees In a binary tree, each node has at most two subtrees A set of nodes T is.
CS 104 Introduction to Computer Science and Graphics Problems Data Structure & Algorithms (4) Data Structures 11/18/2008 Yang Song.
Review for Test 2 i206 Fall 2010 John Chuang. 2 Topics  Operating System and Memory Hierarchy  Algorithm analysis and Big-O Notation  Data structures.
Course Review COMP171 Spring Hashing / Slide 2 Elementary Data Structures * Linked lists n Types: singular, doubly, circular n Operations: insert,
CS 206 Introduction to Computer Science II 04 / 29 / 2009 Instructor: Michael Eckmann.
Advanced Tree Data Structures Fawzi Emad Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
1 abstract containers hierarchical (1 to many) graph (many to many) first ith last sequence/linear (1 to 1) set.
Chapter 4: Trees Binary Search Trees
Data Structures, Spring 2004 © L. Joskowicz 1 DAST – Final Lecture Summary and overview What we have learned. Why it is important. What next.
Tree Traversals & Maps Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Instructor: Dr. Sahar Shabanah Fall Lectures ST, 9:30 pm-11:00 pm Text book: M. T. Goodrich and R. Tamassia, “Data Structures and Algorithms in.
Nirmalya Roy School of Electrical Engineering and Computer Science Washington State University Cpt S 122 – Data Structures Data Structures Trees.
Copyright © Wondershare Software Introduction to Data Structures Prepared by: Eng. Ahmed & Mohamed Taha.
1 Hash Tables  a hash table is an array of size Tsize  has index positions 0.. Tsize-1  two types of hash tables  open hash table  array element type.
CS 3610 Midterm Review.
Final Review Dr. Yingwu Zhu. Goals Use appropriate data structures to solve real- world problems –E.g., use stack to implement non-recursive BST traversal,
IT 60101: Lecture #151 Foundation of Computing Systems Lecture 15 Searching Algorithms.
10/20/20151 CS 3343: Analysis of Algorithms Review for final.
Review for Final Andy Wang Data Structures, Algorithms, and Generic Programming.
CS Data Structures II Review & Final Exam. 2 Topics Review Final Exam.
Binary SearchTrees [CLRS] – Chap 12. What is a binary tree ? A binary tree is a linked data structure in which each node is an object that contains following.
Starting at Binary Trees
CS223 Advanced Data Structures and Algorithms 1 Review for Midterm Neil Tang 03/06/2008.
Final Exam Review CS Total Points – 60 Points Writing Programs – 50 Points Tracing Algorithms, determining results, and drawing pictures – 50.
Nirmalya Roy School of Electrical Engineering and Computer Science Washington State University Cpt S 223 – Advanced Data Structures Course Review Final.
Elementary Data Organization. Outline  Data, Entity and Information  Primitive data types  Non primitive data Types  Data structure  Definition 
Runtime O(VE), for +/- edges, Detects existence of neg. loops
Final Exam Tuesday, December 22nd 2:00 - 3:50pm room 102 Warren Weaver Hall.
Data Structure II So Pak Yeung Outline Review  Array  Sorted Array  Linked List Binary Search Tree Heap Hash Table.
Chapter 4: Trees Part I: General Tree Concepts Mark Allen Weiss: Data Structures and Algorithm Analysis in Java.
Data Structures for Midterm 2. C++ Data Structure Runtimes.
Review for Final Exam Non-cumulative, covers material since exam 2 Data structures covered: –Treaps –Hashing –Disjoint sets –Graphs For each of these data.
Chapter 12 Abstract Data Type. Understand the concept of an abstract data type (ADT). Understand the concept of a linear list as well as its operations.
Week 10 - Friday.  What did we talk about last time?  Graph representations  Adjacency matrix  Adjacency lists  Depth first search.
CISC220 Fall 2009 James Atlas Dec 07: Final Exam Review.
Week 15 – Wednesday.  What did we talk about last time?  Review up to Exam 1.
 Saturday, April 20, 8:30-11:00am in B9201  Similar in style to written midterm exam  May include (a little) coding on paper  About 1.5 times as long.
Final Exam Review CS Total Points – 20 Points Writing Programs – 65 Points Tracing Algorithms, determining results, and drawing pictures – 50.
Computer Science: A Structured Programming Approach Using C1 Objectives ❏ To introduce the basic concepts of linked lists ❏ To introduce the basic concepts.
DATA STRUCTURES Prepared by, K.ABINAYA L/IT. Aim: To present the concepts of arrays, structures, stack, queue, linked list, graphs, trees and storage.
1 the BSTree class  BSTreeNode has same structure as binary tree nodes  elements stored in a BSTree are a key- value pair  must be a class (or a struct)
Review for Exam 2 Topics covered: –Recursion and recursive functions –General rooted trees –Binary Search Trees (BST) –Splay Tree –RB Tree –K-D Trees For.
Introduction to Data Structure and Algorithms
Data Structures: A Pseudocode Approach with C 1 Chapter 5 Objectives Upon completion you will be able to: Explain the design, use, and operation of a linear.
Final Exam Review COP4530.
Final Exam Review CS 3358.
Data Structures and Algorithms
Trees Chapter 15.
Exam Hints.
Week 11 - Friday CS221.
Hashing Exercises.
Review for Final Exam Non-cumulative, covers material since exam 2
Review for Final Exam Non-cumulative, covers material since exam 2
Data Structures and Algorithms
Review for Final Exam Non-cumulative, covers material since exam 2
Review for Midterm Neil Tang 03/04/2010
CSE 326: Data Structures: Midterm Review
Final Exam Review COP4530.
Final Review Dr. Yingwu Zhu.
EE 312 Final Exam Review.
CS Fall 2012, Lab 11 Haohan Zhu.
Review for Final Exam Non-cumulative, covers material since exam 2
Presentation transcript:

Review for Final Exam – cs411/511 Definitions (5 questions, 2 points each) Algorithm Analysis (3 questions, 3 points each) General Questions (3 questions, 2 points each) Programming Questions (3 questions, 5 points each) Hash Tables (2 questions, 5 points each) Stacks, Queues, Lists, Search, and Sort (2 questions, 5 points each) Binary Trees (2 questions, 5 points each) Balanced Trees (2 questions, 5 points each) Multiway Trees and External Storage (2 questions, 5 points each) Graph Algorithms (2 questions, 5 points each)

Definitions Algorithm Analysis Definitions –Review all of the definitions discussed in class –Review the previous quiz answers Algorithm Analysis –Review all of the complexities that we discussed –Consider best case, worst case, and average case –Be able to explain why an algorithm has a given complexity

General Questions Programing General Questions –Review all of the previous quizzes –Review tradeoffs between data structures and algorithms as discussed in class –Review key parts of algorithms –Review situations for which certain structures or algorithms apply Programming code –Be able to declare nodes for each data structure –Be able to show code for basic methods relating to linked lists, stacks, queues, sorts searches, and heaps

Hash Tables Stacks/Queues/Lists/Search/Sort Hash Tables –Be able to insert elements into hash tables using linear probing, quadratic probing, secondary probing –Be able to show separate chaining in pseudo code Stacks/Queues/Lists/Search/Sort –Thoroughly understand: push, pop, insert, remove, find algorithms –Thoroughly understand binary and linear search, insertion/selection/bubble/quick sort/heap sort/merge sort algorithms

Binary Trees Balanced Trees Binary Trees –Find, Insertion, deletion, find max, find min, find successor, find predecessor –In-order, post-order, pre-order traversals –Heap creation, trickle-down, trickle-up, remove min, adjust min, insert, remove Balanced Trees –AVL, Splay, Red-Black Algorithms for insertion

Multiway Trees Graph Algorithms Multiway Trees –B-trees, trees Graph Algorithms –Kruskal and Prim spanning tree algorithms –Dykstra’s shortest path algorithm –Topological sorts –Breadth First and Depth First Search –Approaches to Represent graphs in memory