HF RL Explorer

Task: Implement an Efficient Array Comparison Function in JavaScript

Task: Implement an Efficient Array Comparison Function in JavaScript: a task in Terminal-Lego-15k (Harbor dataset). In JavaScript, comparing two arrays with == or === does not work as expected because these operators compare object references, not the contents of the arrays:

The task

In JavaScript, comparing two arrays with `==` or `===` does not work as expected because these operators compare object references, not the contents of the arrays:

Part of PrimeIntellect/Terminal-Lego-15k.