summaryrefslogtreecommitdiff
path: root/progs/a55.py
blob: 219b207a5e2f44ef6b5e8b5729c944187b7eae41 (plain)
1
2
3
4
5
6
7
def find_Min_Sum(a,b,n): 
    a.sort() 
    b.sort() 
    sum = 0  
    for i in range(n): 
        sum = sum + abs(a[i] - b[i]) 
    return sum