Count the summary of the latest N numbers with constant time complexity O(1).
From the project's root directory, run below commands:
cmake -S . -B <build_directory>
cmake --build <build_directory>
ctest --test-dir <build_directory>/test
- โ use standard C++ project structure for library (ref)
- โ tidy the tests (should we?)