Add description and solution in C++ of restore IP addresses problem