Given the array arr = [3, 7, 2, 9, 5], what is the index of the element 9?
In the array nums = [1, 4, 2, 4, 6], which number is duplicated?
After rotating the array [11, 22, 33, 44, 55] by two positions to the right, what is the resulting array?
Which function in JavaScript checks if an array contains a given value?
What is the output of Math.max(...[2, 5, 1, 9, 8]) in JavaScript?
In a linear search, how many elements are checked in the worst case scenario in an array of length N?
What is the result of sorting the array [10, 5, 40] using JavaScript's default sort() method?
If arr = [1, 3, 7, 3, 5], which indices contain the value 3?
Before using binary search on an array, what must always be true?
What is the correct result of merging [1,2,3] and [4,5] in JavaScript using the concat method?