1. Question: What is your tech stack, and how comfortable are you with version controls like JIRA?
Answer: I primarily work with technologies such as [Your Tech Stack], and I have extensive experience using version control systems, including JIRA, for project management and collaboration.
2. Question: Can you explain the OOP concepts with an example?
Answer: Object-Oriented Programming (OOP) is a paradigm based on the concept of “objects,” which can contain data and code. The four main principles are encapsulation, abstraction, inheritance, and polymorphism. For example, in a class hierarchy of ‘Vehicle,’ a ‘Car’ class can inherit properties from the ‘Vehicle’ class, demonstrating inheritance.
3. Question: How do you reverse a linked list in C++?
Answer: To reverse a singly linked list in C++, you can iterate through the list and adjust the pointers of each node to point to the previous node, effectively reversing the direction of the list.