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 Subarray
- Discussions
Java Subarray
Java Subarray
Sort by
recency
|
632 Discussions
|
Please Login in order to post a comment
my code:
import java.io.; import java.util.;
public class Solution {
}
java
not able to understand this question,can any one clarify it
Scanner sc=new Scanner(System.in); int jum=sc.nextInt(); int jumtot=0; int count=0; int[] arrJum=new int[jum]; String test=""; for (int i = 0; i < jum; i++) { int val=sc.nextInt(); arrJum[i]=val;