display dot product of two arrays

Solutions on MaxInterview for display dot product of two arrays by the best coders in the world