https://www.hackerrank.com/challenges/java-1d-array-introduction/problem?isFullScreen=true Java 1D Array | HackerRank Get started with one-dimensional arrays. www.hackerrank.com import java.util.*; public class Solution { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int[] a = new int[n]; for(int i = 0; i < n; i++){ a[i] = scan.nextInt();..