Exercise: analyze algorithms

Exercise

Solution

  • refactor1.cpp
  • refactor2.cpp
  • refactor3.cpp