Created
December 1, 2017 02:21
-
-
Save Pierian-Data/eaa589bb6ad88a5ec00b42d8d0f29328 to your computer and use it in GitHub Desktop.
This file contains 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
def finder(arr1,arr2): | |
arr1.sort() | |
arr2.sort() | |
for num1,num2 in zip(arr1,arr2): | |
if num1 != num2: | |
return num1 | |
return arr1[-1] | |
def finder(arr1,arr2): | |
return sum(arr1) - sum(arr2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment