summaryrefslogtreecommitdiff
path: root/progs/a105.py
blob: 8bda3d4e44aace7aeff4a3b7b1d84394ee4d1fd7 (plain)
1
2
3
4
5
6
7
8
9
10
def is_subset(arr1, m, arr2, n): 
	hashset = set() 
	for i in range(0, m): 
		hashset.add(arr1[i]) 
	for i in range(0, n): 
		if arr2[i] in hashset: 
			continue
		else: 
			return False
	return True