A naive solution is to perform a linear search on the given array to check if a particular value is present in the array or not. ⮚ For primitive arrays. 1. 2.
確定! 回上一頁