Gong Interview Question

1. What can you tell me about java exceptions? How to implement the 2 types? 2. What is a static nested class? 3. Internal implementation of LinkedList and ArrayList and in what case LinkedList is better? and knowing complexity for each operation.

Interview Answer

Anonymous

Jul 25, 2019

3. for implementing a queue purpose. ArrayList is a dynamic resizing array and linked list is implemented with Nodes that point to the next node.

5