Pergunta de entrevista da empresa BNY

Q: Can you explain the concept of polymorphism in object-oriented programming? GeeksforGeeks A: Polymorphism allows objects to be treated as instances of their parent class rather than their actual class. It enables a single interface to represent different underlying forms (data types). There are two types: compile-time (method overloading) and runtime (method overriding). Q: How would you implement a linked list using arrays? Medium A: To implement a linked list using arrays, we can use two arrays: one for storing data and another for storing the index of the next element. Each element's 'next' index points to the position of the next node in the data array. Q: Describe a project you've worked on and the technologies used. A: I developed a chat application using Firebase for authentication and real-time database functionalities. The frontend was built with React, and the app included features like user login, message exchange, and notifications