Consider three sorted arrays (these can bestd::vector, std::array, e.g., the container is of little importance, whatever is most s
std::vector
std::array