Solve island connectivity and string multiplication | Meta