Pergunta de entrevista da empresa Informatica

Round 2 Q1. A string related problem solving question. straight forward solution by using StingBuilder. Knowledge on String immutability, string pool, etc was also tested Q2. Threading related: There has to be 5 threads running. Each thread need to start the printing of number based on the user given number (and continue to print in an incremental manner). The number could be printed in a mixed manner Q3. Questions on Java Collections. ○ What are and How do HashMap and HashSet work? ○ When to use an ArrayList, Vector, LinkedList? When to use ArrayList over a HashSet or vice-versa?