Find the number of primes to be deleted when deleting the sub - arrays
else if ( v . length > k ) { let tt = v . length - k ; let sum = 0 ; sum += diff [ tt - 1 ] ; let res = n - ( v . length + sum ) ; return res ; } }