List of element | Sololearn: Learn to code for FREE!
0

List of element

You have a list of elements that is an array of elements. Write a function/method that returns the value of the Nth element in the list. If the nth value you are to return is greater than the length of the list, return -1

23rd Jan 2019, 8:43 AM
Clement Babaniyi
1 Answer
0
for Java
23rd Jan 2019, 8:44 AM
Clement Babaniyi