Created
January 2, 2018 04:44
-
-
Save amulyakashyap09/d8d6788770645a46ca5175392584f54e to your computer and use it in GitHub Desktop.
Subset | Hackerrank
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in range(int(input())): #More than 4 lines will result in 0 score. Blank lines won't be counted. | |
a = int(input()); A = set(input().split()) | |
b = int(input()); B = set(input().split()) | |
print(A.issubset(B)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment