Problems
Previous question · 700
Customer Activity Totals
hard
Database
Next question · 702
Kolmogorov-Smirnov Test
medium
Statistics
Random coding question
NumPy
Language
NumPy
Practice
Interview
AI Tutor
Description
Solution
Discussion
701. Vector multiplication
easy
General
senior
Function contract
Inputs
x
np.ndarray
y
np.ndarray
Returns
value
float
Examples
Example 1
Input
{
"x"
:
[
1
,
2
,
3
]
,
"y"
:
[
4
,
5
,
6
]
}
Output
32
Example 2
Input Signature
Argument
Type
x
np.ndarray
y
np.ndarray
Output Signature
Return Name
Type
value
float
Constraints
Hint 1
Hint 2
Roles
ML Engineer
AI Engineer
Data Scientist
Research Scientist
Companies
General
Levels
senior
entry
Tags
dot-product
loops
linear-algebra
time-complexity
Similar Questions
Linear Regression
medium
ML Coding
Activation function relu
easy
ML Coding
Text normalization
medium
ML Coding
42 people
are solving this problem
Run
Submit
00:00
Loading editor for the selected language
Ln 1, Col 1
Program Output
DATA
INTERVIEW
Interactive coding terminal
Python / NumPy environment ready.
Type a command below or run code from the editor.
run script
Execute the current editor contents
submit
Grade the current editor contents against all solution test cases
python ("print hello world")
Run an isolated Python command
help
Show all available commands
>>>