C++ Sets/Maps/Unordered Sets/Unordered Maps, Chrono, GTest TDD

Channel:
Subscribers:
2,640
Published on ● Video Link: https://www.youtube.com/watch?v=mooNIkEOxks



Duration: 1:26:28
273 views
8


We went over a lot of topics today, including the difference between sets and maps, and their regular (O(logN) insert, search, delete but always sorted) and unordered variants (O(1) insert, search, delete but held in no order).

We went over how to time your code so you can benchmark it using the C method (call clock() twice and subtract the difference) and the C++ method (include chrono and then Google example source code).

Finally we talked about the software development process, including waterfall and Agile, and finished by talking about TDD, and gave you your first assignment writing tests using the GTest suite for fizzbuzz.







Tags:
csci 41
set
map
unordered_set
unordered_map
TDD
chrono
clock
benchmarking
GTest
fizzbuzz