We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
In the first loop we are inserting the values to each ith indices of the array .
In the second loop we are displaying the inserted values of the respectve ith indices starting from 0 to n.
Java 1D Array
You are viewing a single comment's thread. Return to all comments →
In the first loop we are inserting the values to each ith indices of the array . In the second loop we are displaying the inserted values of the respectve ith indices starting from 0 to n.
Here is my solution for better understanding https://www.codinghumans.xyz/2020/08/java-1d-array-hackerrank-solution-by.html