Select a category to the left.



Light or dark? Choose how the site looks to you by clicking an image below.

Light Dark


Preferred Language

All content on is originally in UK English. However, if content exists in your preferred language, it will display as that instead. Feel free to choose that below. This will require a page refresh to take effect.


"" details

Domain Name:
Site Version: 3.0.1
Last Updated: 2019/08/18
Welcome to CS140! This class is named "Data Structures and Algorithms I". In this course, you will be going back to C++ (from your last class) and continue to learn more about it. Furthermore, you will also cover more about how to actually implement some of the features and algorithms of the STL library, and understand Data Structures (hence the course name).

Each of you are assigned one of three lab sections. Unlike in CS102, these labs are 1 hour and 55 minutes long. I am not hosting any lab sections this semester, but I am assisting GTA Camille Crumpton in Sections 2 and 3.

Office Hours:
Min H. Kao Building
Room 217

Monday & Friday: 10:30 - 13:10
This section will have links to guides or documentation that I write and find valuable for this course. Typically it's for common issues I notice among students. Check frequently!
Lab Sections
In lab, I may write various example programs on a projector or write concepts on the board. I archive every file from every lab session, and may put them up online (depending on the material).

I do not post lab solutions. In each module below, you may find some of the following:
  • Mini-guides on concepts that you will use in each lab.
  • Source code to programs that I code up during lab.
  • Misc files I may provide (PDFs of board writings, slides, etc).
  • Lab simulators.
  • Lab hints.
Just a heads up: Do not rely on me uploading files. I may upload files. I may not. I recommend taking notes just in case. There may not even be a lab guide.