C++ Taskbook Level 9.1
Given an integer:
int num = 12345;
Find the smallest and largest digits in this number.
Given some URL:
std::string url = "http://test.com/dir1/dir2/dir3/page.html";
Get the domain name from it:
"test.com"
Given an array:
{
{2, 4, 5},
{1, 2, 3},
{0, 1, 1},
{5, 7, 1},
}
Sort the array elements in ascending order of the sum of the subarray elements.