SQL: Basic Group By, Count(Distinct) The questions were not very clear and the nature of the live coding interview is supposed to make the candidate ask questions. I walked them through my thought process. Cracked the query too. Guess it was still not good enough for them. Python: Given 2 strings. Determine whether they can match in 0 or 1 swaps. StringA = "hello" StringB="oellh"