Fall 2020 - CMPT 307 D100

Data Structures and Algorithms (3)

Class Number: 6298

Delivery Method: In Person


  • Course Times + Location:

    Mo, We, Fr 1:30 PM – 2:20 PM

  • Prerequisites:

    CMPT 225, MACM 201, MATH 151 (or MATH 150), and MATH 232 or 240.



Analysis and design of data structures for lists, sets, trees, dictionaries, and priority queues. A selection of topics chosen from sorting, memory management, graphs and graph algorithms.


The objective of this course is to introduce concepts and problem-solving techniques that are used in the design and analysis of efficient algorithms. This is done by studying various algorithms, algorithmic techniques, and data structures.


  • Introduction and Mathematical Preliminaries (Review): Models of Computation, Big-O Analysis
  • Searching and Sorting: Divide & Conquer Paradigm, Analysis of Recurrences, Master Method
  • Sorting and Order Statistics: Heapsort, Quicksort, Non-comparison sorts, Lower bounds, Median
  • Randomized algorithms, Average case analysis
  • Simple Data Structures: Lists, Stacks, Queues, Trees
  • Dictionaries and Priority Queues: (Balanced) Binary search trees, Heaps
  • Graphs: Representations, Path Searching, Spanning Trees
  • Amortized Analysis: Aggregate, Accounting, Potential Methods
  • Optimization Problems: Dynamic programming, Greedy algorithms
  • NP-Completeness


  • The course has a final examination, homework assignments, and quizzes or midterms. The grade distribution will be announced during the first week of classes. Students must attain an overall passing grade on the weighted average of exams in the course in order to obtain a clear pass (C- or better).



Reference Books

  • Algorithm Design , J. Kleinberg, E. Tardos, Addison-Wesley, 2006, 9780321295354


  • Introduction to Algorithms (3rd Edition), T.H. Cormen, C.E. Leiserson, R.L. Rivest, C. Stein, MIT Press, 2009, 

ISBN: 9780262033848

Registrar Notes:


SFU’s Academic Integrity web site http://www.sfu.ca/students/academicintegrity.html is filled with information on what is meant by academic dishonesty, where you can find resources to help with your studies and the consequences of cheating.  Check out the site for more information and videos that help explain the issues in plain English.

Each student is responsible for his or her conduct as it affects the University community.  Academic dishonesty, in whatever form, is ultimately destructive of the values of the University. Furthermore, it is unfair and discouraging to the majority of students who pursue their studies honestly. Scholarly integrity is required of all members of the University. http://www.sfu.ca/policies/gazette/student/s10-01.html


Teaching at SFU in fall 2020 will be conducted primarily through remote methods. There will be in-person course components in a few exceptional cases where this is fundamental to the educational goals of the course. Such course components will be clearly identified at registration, as will course components that will be “live” (synchronous) vs. at your own pace (asynchronous). Enrollment acknowledges that remote study may entail different modes of learning, interaction with your instructor, and ways of getting feedback on your work than may be the case for in-person classes. To ensure you can access all course materials, we recommend you have access to a computer with a microphone and camera, and the internet. In some cases your instructor may use Zoom or other means requiring a camera and microphone to invigilate exams. If proctoring software will be used, this will be confirmed in the first week of class.

Students with hidden or visible disabilities who believe they may need class or exam accommodations, including in the current context of remote learning, are encouraged to register with the SFU Centre for Accessible Learning (caladmin@sfu.ca or 778-782-3112).