Open In App

GS Lab interview Experience | Set 3

Improve
Improve
Like Article
Like
Save
Share
Report

First Round
The first round was written round which was conducted by Hackerearth.
1st 5 questions were from aptitude, the 2nd section was from SQL queries, the 3rd section was from os and data structure and final section was 2 coding question.
1st coding question was very cool number




#include <iostream>
using namespace std;
   
int main()
{
    long int q;
  
     
        long int r,k;
        cin>>r>>k;
        string s;
         
        long int count2=0;
        for(long int hh=5;hh<=r;hh++)
        {
            long int count=0;
            long int l=0;
            long int h=hh;
            while(h!=0)
            {
                s[l]=h%2;
                h=h/2;
                l++;
            }
            s[l]='\0';
            for(long int i=0;i<l-2;i++)
            {
                if(s[i]==1 && s[i+1]==0 && s[i+2]==1)
                {   
                    count++;
                }
            }
            if(count>=k)
            {
                count2++;
            }
        }
          
        cout<<count2<<endl;
          
      
    return 0;
}


The 2nd coding question was a pattern.


Second Round

1st technical round they asked me about my project which I had done using tableau and they said to me if I had to do it in SQL how can I visualize data, they said to me to do the Er model of the table, then some join query and told me to explain how does it happen
and then gave an instance how can I get information about a family from the table and how can I optimize by adding the new table.
Too many SQL queries.

NOTE: You have to Qualify each round to go to the next round.


Third Round

They asked me about my next project which was based on home automation and real-life case scenario where it can be implemented.
Then questions about the operating system, more SQL, and advanced SQL and finally java questions.

Note:– U must be strong in SQL and os and networking.


HR Round

Be ready for some math questions and English questions through an android app where u have to cross a score.
and be ready for technical questions in hr also and questions about family and some case scenarios.
HR was very friendly.
The final results were declared after a month where 3 people were selected out of 5 shortlisted people and I was one of them.

Write data structure in your CV if are really strong in it.
some questions they asked my friends were
1-merge point of a linked list
2-balanced parenthesis
3- diff between JVM and JRE
4- BST
5-searching a repeated value in an array without sorting. (can use any data structure)
6-ted ed puzzle questions

For cracking this company u need to practice from cracking the coding interview book and start practicing from geeksforgeeks.



Last Updated : 17 Apr, 2019
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads