10 XP challenge
Check Two Lists Match Exactly
easy
Build it yourself · 6 min
1 Learn2 Predict3 Solve
TaskYour mission
Return true if left and right have the same length and the same value at every position. Each list contains 0 to 30 integers from -100 to 100.
Examples
| Input | Return |
|---|---|
left = [1,2], right = [1,2] | true |
left = [1,2], right = [2,1] | false |
Your code
Write your answer inside Solution, then use return to send it back.
Ln 1, Col 1
JavaScript
Try examples runs the public examples. Check my code checks your full answer and saves your completion.