Last Occurrence of Element

Given a sorted array nums and a target, find the index of the last occurrence of target.

Difficulty:

Console