more medium problems solved