Sum of Two Numbers
Sum Multiples of Three and Five
Factorial
Linear Search
Reverse String
Find Maximum
Average Value (Java 8 Lambdas and Streams)
Convert to Upper Case (Java 8 Lambdas and Streams)
Nth Odd Element
Number Of Tree Nodes
Count Nodes in List
Count Number of Leaf Nodes
Binary Tree Depth
Find Second Largest Number in Array

Write a method that returns the index of the first occurrence of given integer in a list.

Assume that the index of the first element in the list is zero.

If the number does not exist return -1.

Assume that the index of the first element in the list is zero.

If the number does not exist return -1.