Apple Interview Question

Design an algorithm to efficiently calculate vector dot product using CUDA.