Easy
Signal absence with std::optional
Fill in the blank so findValue returns an empty std::optional<int> when target isn't found in v, rather than any particular int value.
main.cpp
std::optional<int> findValue(const std::vector<int>& v, int target) { auto it = std::find(v.begin(), v.end(), target); if (it == v.end()) { return ; } return *it;}100 of 117 in C++