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.
- Prepare
- Java
- Data Structures
- Java 1D Array
- Discussions
Java 1D Array
Java 1D Array
Sort by
recency
|
279 Discussions
|
Please Login in order to post a comment
int a[]=new int[n]; for(int i=0;i<=n-1;i++) { a[i]=scan.nextInt(); }
Here is Java 1D Array solution - https://programmingoneonone.com/hackerrank-java-1d-array-problem-solution.html
Solution in java
public class Solution {
}
Use stream and lambdas