O(N) complexity means the time needed for the algorithm to work increases step by step as the amount of data it processes gets bigger.
Compile single source file:
$ clang++ ./main.cpp -o out Build the project using cmake
# From your project root directory
$ cmake -S . -B cmake-build-debug
# Build the project
$ cmake --build cmake-build-debug
Debug
# Set the debug pointing your executable
$ lldb ./exec
$ breakpoint set --file ./path/main.cpp --line 10
$ print variable_name