Two Strings Game Hackerrank Solution For Sql