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 Map
- Discussions
Java Map
Java Map
Sort by
recency
|
368 Discussions
|
Please Login in order to post a comment
my code:
//Complete this code or write your own from scratch import java.util.; import java.io.;
class Solution{ public static void main(String []argh) { Scanner in = new Scanner(System.in); HashMap dict = new HashMap<>();
}
import java.util.; import java.io.;
class Solution{ public static void main(String []argh) { Scanner in = new Scanner(System.in); int n=in.nextInt(); in.nextLine(); Map map=new HashMap<>(); for(int i=0;i
} }
Simple solution