Set .intersection() Operation
-
Practice>Python>Sets>Set .intersection() Operationhackerrank.com 2019. 2. 27. 12:42
hackerrank.comSet .intersection() OperationProblem link : https://www.hackerrank.com/challenges/py-set-intersection-operation/problem?utm_campaign=challenge-recommendation&utm_medium=email&utm_source=24-hour-campaignDifficulty : Easy TipIf you know intersection() method of set, you can easily solve this problem Solution input() s1 = input().split(' ') ss1 = set(s1) input() s2 = input().split(' '..