HackerRank Lower Bound-STL in C++ problem solution - TheCScience