Which of the following methods correctly reverses a string in Python?
How can you efficiently find duplicate elements in an array?
Which method is used to convert a string to uppercase in JavaScript?
Which search algorithm is most efficient for searching a sorted array?
Which of the following correctly splits the string 'apple,banana,cherry' into an array using the comma as a delimiter in most programming languages?
What is the time complexity of rotating an array by one position to the right?
In Java, which operator is commonly used for string concatenation?
Which array method is used to create a new array containing only elements that satisfy a specific condition in JavaScript?
Which of the following strings is a palindrome?
Which string method is used to find the index of the first occurrence of a substring within a string in Python?