OKG Interview Question

4 pillars of OOPs Garbage collection Stack vs Heap memory DBMS design based on situations CV Based question Coding question- You have a large array and you have to get the top k largest elements. (You cannot do sort() in C++ but something more efficient. I went for Heap and then had to explain how will the program work and the time complexity of each step) The last 15mins were for me to ask questions.