Monday, 28 January 2019

Pine Labs Interview Experience

Process: 3 Technical Round + 1 Manager Round + 1 HR


Round 1:
  • Write Code to find meeting point in Y Linked List ( 7 in below list)
  • Write your own Copy constructor, assignment operator for below class
           class Student
           {
                  char* name;
                  int age;
                  vector<Subject*> optionSubject;
           }
           where Subject is defined as below
           struct Subject
           {
                 char* name;
                 int marks;
           }

Round 2:
  •  Write Code to find LCA of Binary Search Tree of given node & if node is not there return NULL.
  • Design Logger class considering multithreading aspect (ensuring Race condition is avoided)
  • Design Memory Manager ( Define Data structure of it and handle memory allocation & deallocation )
Round 3:
  • Asked me Round 1 question of Y List again. After I told him that its already asked he modified the question by introducing a loop in starting & then find the meeting pointed i.e 7
  •  Questions related to C++
    • What is static keyword , why we need static data member & member functions.
    • What is static const ? Where do you define in class & initialize it.
    • Can Destructor throw an exception?
    • Can Constructor throw an exception? Can we use the data member already initialized before throwing exception?

Round 4 (CTO Round):
  • Asked me to introduced myself & explain projects i have worked upon. Then he asked few questions related to project.
  • Write Code of thread Safe Singleton class.
  • General Discussion.
Round 5 (HR Round):
  • Explained about the company, its growth story different policies & work environment.
  • General Questions.
  • Current CTC & Expectation.
Overall, You need to be good in Data Structures & Design to crack Pine Labs Interview.