Bhaiya teli me wha's wrong

hello @laksh.rustagi12

a)pass cmp as third argument of cmp

b)U should compare current first value with the second value of last picked acticivity
note last picked acticity may need not to be i-1 always