According to my notes, nucleophilicity order is directly proportional to basicity order in an aprotic medium, and is inversely proportional to basicity order in protic medium. And H2O is a stronger base than H2S, so it should be the strong nucleophile, but the answer is given as H2S is the stronger nucleophile.
hope this helped, good luck <3