completed swap and sum problems