The idea is to iterate over the input array and check the element in each iteration. If the element is found, then we return the current index.
確定! 回上一頁