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 List
- Discussions
Java List
Java List
Sort by
recency
|
483 Discussions
|
Please Login in order to post a comment
my code: import java.io.; import java.util.;
public class Solution {
}
the sample test case is passed but all other test cases got failed
Scanner sc = new Scanner(System.in); int n = sc.nextInt();
This is my solution:
List elements = new ArrayList<>(); Scanner scan = new Scanner(System.in);
int size = scan.nextInt();
for(int i=0;i
Delete is not working
import java.io.; import java.util.;
public class Solution {
}