If nucleophile is ambident and solvent is polar aprotic, more electronegative atom is free to attack the substrate. Since more electronegative atom is a hard base, it forms a stronger bond with hard acids like carbocation. This promotes formation of carbocation by substrate. Hence, SN1 reaction should take place But, polar aprotic solvent favours SN2 reaction. So which mechanism does the reaction follow?