The document is a preparation guide for technical interviews, outlining essential topics such as data structures (List, Set, Map), their implementations, and key concepts like equals/hashcode methods, design patterns, and JUnit testing. It provides a checklist for pre-interview setup, including IDE preparation and JDK installation. Additionally, it offers tips for effective JUnit testing, emphasizing the importance of test independence and boundary testing.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
10 views1 page
Technical Interview Preparation Guide
The document is a preparation guide for technical interviews, outlining essential topics such as data structures (List, Set, Map), their implementations, and key concepts like equals/hashcode methods, design patterns, and JUnit testing. It provides a checklist for pre-interview setup, including IDE preparation and JDK installation. Additionally, it offers tips for effective JUnit testing, emphasizing the importance of test independence and boundary testing.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
Technical Interview Preparation Guide
Suggested content to be reviewed for the interview:
List, Set, Map List implementations: ArrayList, LinkedList Set implementations: HashSet, LinkedHashSet, TreeSet Map implementations: HashMap, LinkedHashMap, TreeMap equals and hashcode methods overriding Collections utility class (sort methods) Comparable and Comparator Lambdas Design Patterns: Singleton, Factory, Factory Method, Strategy JUnit testing framework Algorithms: round robin (expected by client), insertion, sorting. (?)
Before the interview:
Prepare the IDE: choose the one you are more confident to work with Check JDK 8+ is installed and working Check Maven (or other lib manager) is working Check JUnit is working Suggestion: create a simple project, create a class, create a method, set JUnit dependencies, create a test method and run it successfully (green)
Tips for testing methods:
Understand the JUnit framework basic annotations: @Test, @BeforeEach, @BeforeAll, @AfterEach, @AfterAll Understand the JUnit framework basic assertions: assertEquals, assertTrue, assertFalse Test methods must work independently from running order Test methods cannot depend on each other to success Test fail cases (empty collections for example) Test boundaries (full collection, one more, one less) Don’t test the platform (new Object() != null)