Symmetric Pairs

  • + 0 comments

    the question is incorrect for case where we have the following input: 20 21 21 20 20 21 21 20 in this case 20 21 should be printed twice applying distinct while selecting the rows will only print 20 21 once