Previous question · 700
Customer Activity Totals
hardDatabase
Next question · 702
Kolmogorov-Smirnov Test
mediumStatistics
Random coding question

701. Vector multiplication

easy
GeneralGeneral
senior
Function contract
Inputs
x
np.ndarray
y
np.ndarray
Returns
value
float

Examples

Input
{
  "x": [
    1,
    2,
    3
  ],
  "y": [
    4,
    5,
    6
  ]
}
Output
32

Constraints

Hint 1
Hint 2
Roles
ML Engineer
AI Engineer
Data Scientist
Research Scientist
Companies
GeneralGeneral
Levels
senior
entry
Tags
dot-product
loops
linear-algebra
time-complexity

Similar Questions

Linear Regressionmedium
ML Coding
Activation function relueasy
ML Coding
Text normalizationmedium
ML Coding
42 people are solving this problem
Loading editor for the selected language
Ln 1, Col 1
Program Output
DATAINTERVIEW
Interactive coding terminal
Python / NumPy environment ready.
Type a command below or run code from the editor.
run scriptExecute the current editor contents
submitGrade the current editor contents against all solution test cases
python ("print hello world")Run an isolated Python command
helpShow all available commands