Amazon challenges: Connected Sets