employer cover photo
employer logo

Frage im Vorstellungsgespräch bei VMware

Round 1 - Introduce yourself. - Name a design pattern. Implement Singleton. How to break Singleton. - Coding question : Given a List of BookNames and number of each Book sold , return the top 10 sold books. - what is GC, name its types and name the latest GC type is Java 15

Antwort im Vorstellungsgespräch

Anonym

6. Dez. 2021

- Implemented Singleton but did not know what breaking it meant. - Question was clear, type of input was not clear ( will data be streamed or is it just an array of elements ? ). I got confused. Started implementing like an LRU but forgot the specific Queue implementation by Java (as I had moved on to Scala for few years). In spur of moment I thought MaxHeap could solve and started implementing. But time was up. - answered what GC is and 5 diff types, wasn't aware of latest GC type.