Company question banks are included with the Insider plan.
Given a non-empty integer array nums, return the largest value in it.
nums