Skip to content
Related Articles

Related Articles

GS Lab interview Experience | Set 3

View Discussion
Improve Article
Save Article
  • Difficulty Level : Easy
  • Last Updated : 17 Apr, 2019

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;
        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;
            for(long int i=0;i<l-2;i++)
                if(s[i]==1 && s[i+1]==0 && s[i+2]==1)
    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.

If you like GeeksforGeeks and would like to contribute, you can also write an article using or mail your article to See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!