Coding Questions:
During the first question, I encountered some difficulties but managed to solve it with a hint from the interviewer. The second question was completed successfully without any assistance.
Foundational Data Structures Questions:
Arrays vs. Linked Lists: Discussed the preferable use cases for each data structure.
Stack and Queue: Provide real-life use cases for these structures.
Trie: Showed me a real-life scenario and then asked me what is the most suitable DS to be used in this case.
Designing a Vending Machine
First Task was to take all the requirements. Then Interviewer asked me to go over all the possible flows for the Vending Machine.
Key Discussions:
State Design Pattern: I was unfamiliar with this pattern and could not provide a detailed explanation.
SOLID Principles: The interviewer asked me what are they, Then asked me if I was following the same. Unfortunately I was not and identified the same.
I received a rejection email two days later, stating that my performance did not meet their expectations.