GS Lab interview Experience | Set 3 - GeeksforGeeks

17 Apr, 2019
First RoundThe 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 Round1st 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 happenand 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 RoundThey 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 RoundBe 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 were1-merge point of a linked list2-balanced parenthesis3- diff between JVM and JRE4- BST5-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 contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. 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.
GS Labs
Interview Experiences
Writing code in comment?
Please use ide.geeksforgeeks.org,
generate link and share the link here.
Comments
Old Comments
Microsoft Interview Experience for Internship (Via Engage)
Amazon Interview Experience for SDE-1 (On-Campus)
Infosys Interview Experience for DSE - System Engineer | On-Campus 2022
Amazon Interview Experience for SDE-1
Directi Interview | Set 7 (Programming Questions)
Oracle Interview Experience | Set 69 (Application Engineer)
Amazon Interview Experience for SDE1 (8 Months Experienced) 2022
Amazon Interview Experience for SDE-1(Off-Campus)
Amazon Interview Experience (Off-Campus) 2022
Amazon Interview Experience for SDE-1