Problem Description

Task: return a[index] if valid else throw IndexOutOfBoundsException.

Input Format

Java method

Output Format

Return value

Constraints

Check bounds manually.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next