Upload Button Icon Add office photos

Filter interviews by

Clear (1)

Genpact SDE-2 Interview Questions, Process, and Tips

Updated 17 May 2022

Genpact SDE-2 Interview Experiences

1 interview found

SDE-2 Interview Questions & Answers

user image Anonymous

posted on 17 May 2022

I was interviewed before May 2021.

Round 1 - Coding Test 

(1 Question)

Round duration - 60 minutes
Round difficulty - Easy

It is online round and it was conducted around 11 AM on campus. Difficulty was medium. 2 coding questions were asked. One question is based on arrays(easy) and the other question is based on usage of oops concepts like Inheritance, polymorphism. Everything went smooth.

  • Q1. 

    Subarray With Given Sum Problem Statement

    Given an array ARR of N integers and an integer S, determine if there exists a contiguous subarray within the array with a sum equal to S. If such a subarray exis...

  • Ans. 

    Given an array of integers, find a subarray with a given sum S.

    • Use a sliding window approach to find the subarray with the given sum.

    • Keep track of the current sum and adjust the window based on the sum.

    • Return the start and end indices of the subarray if found, otherwise return [-1, -1].

  • Answered by AI
Round 2 - Video Call 

(4 Questions)

Round duration - 50 minutes
Round difficulty - Medium

Round started with self introduction and discussion of project. Everything went fine.
Note: we didn't have hr round due to time constraint. You can expect hr round.

  • Q1. 

    Find the Duplicate Number Problem Statement

    Given an integer array 'ARR' of size 'N' containing numbers from 0 to (N - 2). Each number appears at least once, and there is one number that appears twice. Yo...

  • Ans. 

    Find the duplicate number in an array of integers from 0 to (N-2).

    • Iterate through the array and keep track of the frequency of each number using a hashmap.

    • Return the number with a frequency greater than 1 as the duplicate number.

  • Answered by AI
  • Q2. Can you explain the concept of normalization and its types?
  • Ans. 

    Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity.

    • Normalization is used to eliminate data redundancy and ensure data integrity in a database.

    • There are different normal forms such as 1NF, 2NF, 3NF, BCNF, and 4NF.

    • Each normal form has specific rules that must be followed to ensure data is properly organized.

    • Normalization helps in reducing data anomalies and incon...

  • Answered by AI
  • Q3. Can you explain the ACID properties in the context of database management systems?
  • Ans. 

    ACID properties are essential characteristics of a transaction in a database management system.

    • Atomicity ensures that either all operations in a transaction are completed successfully or none of them are.

    • Consistency ensures that the database remains in a valid state before and after the transaction.

    • Isolation ensures that the execution of multiple transactions concurrently does not interfere with each other.

    • Durability e...

  • Answered by AI
  • Q4. Can you explain the concepts of Object-Oriented Programming (OOP) with real-life examples?
  • Ans. 

    OOP is a programming paradigm based on the concept of objects, which can contain data and code to manipulate that data.

    • OOP focuses on creating objects that interact with each other to solve complex problems.

    • Encapsulation: Objects can hide their internal state and require interactions through well-defined interfaces. Example: A car object with methods like start(), stop(), accelerate().

    • Inheritance: Objects can inherit a...

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 2 in BangaloreEligibility criteriaAbove 7cgpaGenpact interview preparation:Topics to prepare for the interview - Data Structures and Algorithms, Operating systems, DBMS, Computer Networks, OOPSTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Don't get frustrated if not selected, keep believing yourself.
Tip 2 : Prepare data structures and algorithms well. Practice coding daily. OOPS in any programming language will do. Prefer quality of codes to quantity.
Tip 3 : If possible do a project on full stack development.

Application resume tips for other job seekers

Tip 1 : Keep it simple and try to adjust everything in one page. As a fresher it is better if you can have 2 projects in your cv.
Tip 2 : Don't add unnecessary details such as parents details.

Final outcome of the interviewSelected

Skills evaluated in this interview

Sopra Steria

Success to our employee's well-being? A work-life balance that's simply unbeatable.

Our employees have rated us 4 for Work-Life Balance on AmbitionBox

Interview questions from similar companies

I was interviewed before May 2021.

Round 1 - Telephonic Call 

(1 Question)

Round duration - 30 minutes
Round difficulty - Medium

  • Q1. 

    Remove Consecutive Duplicates Problem Statement

    Given a string S, your task is to recursively remove all consecutive duplicate characters from the string.

    Input:

    String S

    Output:

    Output string

    Constr...

  • Ans. 

    Recursively remove consecutive duplicate characters from a string.

    • Use recursion to check if the current character is the same as the next character, if so, skip the next character

    • Base case: if the string is empty or has only one character, return the string

    • Recursive case: if the current character is the same as the next character, call the function recursively with the string excluding the next character

  • Answered by AI
Round 2 - Face to Face 

(1 Question)

Round duration - 90 minutes
Round difficulty - Easy

  • Q1. 

    Reverse String Operations Problem Statement

    You are provided with a string S and an array of integers A of size M. Your task is to perform M operations on the string as specified by the indices in array A...

  • Ans. 

    Perform a series of reverse string operations on a given string based on specified indices.

    • Iterate through the array of indices and reverse the substring of the string based on the given indices.

    • Ensure to reverse the substring from the starting index to len(S) - starting index - 1.

    • Continue the operations in the sequence specified by the array of indices to get the final string.

  • Answered by AI
Round 3 - HR 

Round duration - 50 minutes
Round difficulty - Medium

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 2 in BangaloreEligibility criteria60%Tech Mahindra interview preparation:Topics to prepare for the interview - Java, Data Structures, Oops Concept, Angular, Basic fundamental of Computer ScienceTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Prepare well for resume & confidence for basic part of CS.
Tip 2 : Good knowledge of skills set which mentioned in CV.
Tip 3 : Explain about projects which you have worked earlier & your roles and responsibilities.

Application resume tips for other job seekers

Tip 1 : Mentioned all the skills & certificate till date update your resume every 3 month's. 
Tip 2 : Proper skills set with project explanation and duration of project which you have worked on

Final outcome of the interviewSelected

Skills evaluated in this interview

SDE-2 Interview Questions & Answers

TCS user image Anonymous

posted on 15 Sep 2021

I was interviewed before Sep 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 360 minutes
Round difficulty - Hard

Timing- Any 6 hours of my choice in the 24 hour window. (10:00 p.m. to 4:00 a.m. I selected)
Environment was very friendly and easy to use.
No significant activity.
This was the only coding round.

  • Q1. 

    Prime Time Again Problem Statement

    You are given two integers DAY_HOURS and PARTS. The integer 'DAY_HOURS' represents the number of hours in a day, and the day can be divided into 'PARTS' equal parts. You...

  • Ans. 

    Find total instances of equivalent prime groups in a day divided into equal parts.

    • Iterate through each part of the day and check for prime pairs in different parts

    • Use a helper function to check if a number is prime

    • Ensure the day is evenly divided by parts and each prime group has hours from different parts

  • Answered by AI
Round 2 - Telephonic Call 

Round duration - 10-15 minutes
Round difficulty - Easy

Timing- 12:15 p.m. 
Environment was very good .
Not any significant activity.
The interviewer was very friendly and talked like friends.

Round 3 - HR 

Round duration - 20 minutes
Round difficulty - Medium

Timing- 12:30 p.m. to 12:45 p.m
Environment was very comfortable.
No other significant activity.
Interviewer was very good and talking very politely & friendly.

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from D Y Patil School Of Engineering Academy,Ambi.. I applied for the job as SDE - 2 in PuneEligibility criteriaAbove 6.75 CGPA, No running backlogsTata Consultancy Services (TCS) interview preparation:Topics to prepare for the interview - DBMS, Sorting Algorithms, SDLC, Computer Networks, Basics of DSATime required to prepare for the interview - 2 monthsInterview preparation tips for other job seekers

Tip 1 : Make sure what you have learnt in DSA you can do it practically by writing codes.
Tip 2 : Must have a hands-on experience in writing SQL commands.
Tip 3 : Do atleast 3-4 projects so that you have an option to explain any one of them if the interviewer asks.

Application resume tips for other job seekers

Tip 1 : Write only true data in resume. Don't bluff as you may get caught which will be very embarrassing.
Tip 2 : Have some latest technology related projects in your resume.

Final outcome of the interviewSelected

Skills evaluated in this interview

SDE-2 Interview Questions & Answers

TCS user image Anonymous

posted on 16 Sep 2021

I was interviewed in Sep 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 180 minutes
Round difficulty - Hard

Timing: 8 a.m. to 11a.m.
Environment was optimum.
No significant activity.

  • Q1. 

    Edit Distance Problem Statement

    Given two strings S and T with lengths N and M respectively, your task is to find the "Edit Distance" between these strings.

    The Edit Distance is defined as the minimum nu...

  • Ans. 

    The task is to find the minimum number of operations required to convert one string into another using delete, replace, and insert operations.

    • Use dynamic programming to solve the problem efficiently.

    • Create a 2D array to store the minimum edit distance for substrings of the two input strings.

    • Iterate through the strings and update the array based on the operations needed for each character.

    • Return the value in the bottom ...

  • Answered by AI
Round 2 - Video Call 

Round duration - 30 minutes
Round difficulty - Medium

Timing: 12:00 p.m. to 12:30 p.m.
The environment was quite good.
No significant activity.
Interviewers were very friendly. They were behaving like friends.

Round 3 - HR 

Round duration - 15 minutes
Round difficulty - Easy

Timing: 3:00 p.m. to 3:20 p.m.
Environment was very good.
No significant activity was monitored.
HR was very good and friendly.

Interview Preparation Tips

Professional and academic backgroundI completed Civil Engineering from Heritage Institute of Technology. I applied for the job as SDE - 2 in KolkataEligibility criteriaAbove 6.5 CGPATata Consultancy Services (TCS) interview preparation:Topics to prepare for the interview - Data Structures, Dynamic Programming, OOPS, Computer Networks, System DesignTime required to prepare for the interview - 7 monthsInterview preparation tips for other job seekers

Tip 1 : Do minimum 3 projects
Tip 2 : Prepare every topic of DSA for interview
Tip 3 : Hands on experience in performing MySql commands

Application resume tips for other job seekers

Tip 1 : Be precise and don't bluff
Tip 2 : Learn atleast 2 programming languages
Tip 3 : Do projects on latest technologies like Artificial Intelligence and Machine Learning

Final outcome of the interviewSelected

Skills evaluated in this interview

SDE-2 Interview Questions & Answers

TCS user image Anonymous

posted on 16 Sep 2021

I was interviewed in Dec 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 30 minutes
Round difficulty - Medium

It was in the morning about 10:00AM-10:40AM. The platform used for this round was hackerrank. There are 15 MCQ's which cover portions of Aptitude, Data Structures, DBMS, SQL

  • Q1. 

    Minimum Operations Problem Statement

    You are given an array 'ARR' of size 'N' consisting of positive integers. Your task is to determine the minimum number of operations required to make all elements in t...

  • Ans. 

    Minimum number of operations to make all elements in the array equal by performing addition, subtraction, multiplication, or division.

    • Iterate through the array to find the maximum and minimum values.

    • Calculate the difference between the maximum and minimum values.

    • The minimum number of operations needed is the difference between the maximum and minimum values.

  • Answered by AI
Round 2 - HR 

Round duration - 15 minutes
Round difficulty - Easy

It was in the night around 7:00PM-7:20PM. Platform used for this round was skype. Interviewer was very serious while taking my interview.

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 2 in DelhiEligibility criteriaAbove 7 CGPATata Consultancy Services (TCS) interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, OOPS, Data Science, Aptitude, DBMSTime required to prepare for the interview - 3.5 monthsInterview preparation tips for other job seekers

Tip 1 : Practice as much as you can
Tip 2 : Try to get a good hold in Data Structures
Tip 3 : Do atleast 2 projects

Application resume tips for other job seekers

Tip 1 : It should not be too long or too short.
Tip 2 : Each skill should be mentioned properly.

Final outcome of the interviewSelected

Interview Questionnaire 

3 Questions

  • Q1. Despite, having a decent CG, why haven’t I got placed till day 8
  • Q2. Tell me about your life story?
  • Q3. One of the company person asked to explain my resume

Interview Preparation Tips

Round: Test
Experience: Speed Maths was easy, it was such that
silly mistakes were quite probable. It lasted for an hour. English was for 1.5
hrs. It was based on TOFEL(speaking, writing, listening)

General Tips: Criteria for getting shortlisted for
Capgemini’s stages of selection was performing well in puzzles and maths.

They did not stress on PORs or internships,
neither did they take the minor into account.No case study topics asked were asked.1st years- Concentrate on CG, put fight for
Day 1, Day 2 companies

2nd years- Concentrate on CG,try learning
coding(coursera) and algorithmic and financial analytics.

Try to obtain an internship in the company
you want to get placed in. It may not be a very good intern, but should be a
meaningful one.

3rd years-Focus on CG, obtain a good
internship.



Practice maths in the last 4
months.(probability mainly)



If you want a finance company, then read newspaper regularly, try to
obtain certifications like CFA, NCFM, etc.
College Name: IIT MADRAS

Interview Preparation Tips

Round: Test
Experience: Quant was most important for the tests, fast mathematics, then technical questions. Technical questions

generally asked by the company. The tests were mostly MCQ. Some tests were there which had subjective question papers. Those subjective type tests lasted 3 hours. They would write a program to do *task* type questions. The programming

language to write the code in, was our choice. The language options were C, C++, Python, Java. Python was rarely asked

Round: Group Discussion
Tips: The skills they wanted to test was to see how well they were able to express their ideas, but without outwardly disrupting others while talking.

Round: HR Interview
Experience: The HR usually starts with “Tell me about yourself”. Then they go through the resume, and ask about the project (DDP, in this case) and internship. This was done by the HR team, just to see how the candidate is putting forth his ideas and contributions clearly. Two puzzles were given in the interview.The interview was at least 40 minutes, with 5 minutes of HR interview HR people were not interested in the depth of the resume, but rather on whether the candidate was able to talk or not. It was used to eliminate some people.
Tips: People with low CGPA had to perform exceptionally well to compensate for the low CGPA. For managerial positions, PoRs like coordships, coreships etc can be used to pitch your leadership qualities. They can start a chain of conversation that involves the work you did, on how you managed to execute the task efficiently, which ends up working in your favor.

Skill Tips: Focus on your Study.. Revise the subject that you have studied at the time of Interview
Skills: Technical Skills
College Name: IIT MADRAS

Interview Preparation Tips

Round: Test
Experience: English skill based test, it was more like a basic clearance test. There were two different rounds one of them was to listen/read and then fill up questions (approx. 45min) other one was the Telephonic test (computer generated test, approx. 15min).
Tips: Aptitude is a must, so practise
Duration: 60 minutes

Round: Group Discussion
Experience: Here the way you interact in a group and essence of your points. Personally I felt that they didn’t concentrate much on speaking skills as such.
Tips: Practise to talk in groups, current affairs  and even random topics
Duration: 15 minutes

Round: HR Interview
Experience: I was tested on basic understanding of Big Data and tested on enthusiasm
Tips: Puzzles (for most startups) and HR & resume based for others mostly.prepare things very much related to the company.

Skill Tips: Starting earlier helps . Aptitude requires some time and it is better to start atleast during summer vacation. Last two months before placements can be spent for other preparations.
College Name: IIT MADRAS

Interview Preparation Tips

Round: Test
Experience: I performed well in the written test, and there was a speaking and listening test too.  I felt quant was most important for the tests, fast mathematics, then technical questions. Technical questions generally asked by core companies. Some programming based companies also ask such technical questions.



Puzzles can help you in answering quant questions also. The tests were mostly MCQ. Some tests were there which had subjective question papers. None of the core companies had subjective type, but coding companies had such questions. 





They were write a program to do *task* type questions. The programming language to write the code in, was our choice. The language options were C, C++, Python, Java. Python was rarely asked, though.
Duration: 3 hours minutes

Round: Group Discussion
Experience: Don't quite actually remember those topics. But, skills they wanted to test was to see how well they were able to express their ideas, but without outwardly disrupting others while talking.

Round: HR Interview
Experience: The interview was at least 40 minutes, with 5 minutes of HR interview for my current work profile. 

The HR usually starts with “Tell me about yourself”. Then they go through the resume, and ask about the project (DDP, in my case) and internship. This was done by the HR team, just to see how the candidate is putting forth his ideas and contributions clearly.
Tips: Since I cleared the tests, I was allowed to appear for the interviews, but after that, the CGPA played a major role in the final selection. Hence people with low CGPA had to perform exceptionally well to compensate for the low CGPA. However, I don’t know of the internal mechanism of shortlisting, so I was of the opinion that CGPA did not result in elimination of candidates, (except for the candidates who were eliminated due to the cutoff CGPA). But it played a role in the final selection.

For managerial positions, PoRs like coordships, coreships etc can be used to pitch your leadership qualities. They can start a chain of conversation that involves the work you did, on how you managed to execute the task efficiently, which ends up working in your favour.

Round: Puzzle Interview
Experience: Two puzzles were given in the interview. I did well in both, hence got selected. Another puzzle was to measure 45 minutes of time elapsed by using two candles, both of which take 1 hour to burn out completely.

General Tips: I was weak in thermodynamics, so he covered that course revision, for core placements. I prepared from the material sent by Shruti. That was all I prepared. The Coursera for R language was not that useful for me as I was looking for a managerial position.In case of resume shortlists, students who had done management, operations research or economics courses were preferred.
Otherwise, one has to justify your selection through good pitching. Finance companies are sort of open minded; they are looking for people who would do the job. Anyways, they will be providing training, so the knowledge in finance gained through independent means is not quite significant. It will, however, give an edge in the tests, as finance and quant based questions will be asked. They won’t go deep info finance.
I also suggest to freshies and second years to complete the core credited intern in the second year itself so that they can take up an intern of their choice, be it either research intern or core intern in their 3rd year summer. It offers much greater flexibility to the students. It will be useful, especially for non-core placements. I started preparing for the interviews late. I did not put pen to paper, to write down his answer for the ice-breaking questions like “Introduce yourself”. It would be better to write those answers down and get them polished, rather than trying to remember it and/or make it up spontaneously.
Skill Tips: For handling pressure, I suggest that after the interviews are over, just eat and get a good night’s sleep. Preparing/analyzing about the performance in the interview would only make you more anxious, affects sleep, and this would affect your performance in the interviews the next day. The additional one hour of preparation is not going to make a big difference.
Skills: Speaking Ability, Ability to express your ideas, Capable of managing things efficiently
College Name: IIT MADRAS

Interview Preparation Tips

Round: Resume Shortlist
Experience: A balanced resume is preferred. It helped me in the further stages of the selection process, as everything was quite based on how was my resume.

Round: Test
Experience: It was actually and English skill based test, more like a basic clearance test. Two different rounds were there:(i)Listen/read and then fill up questions (approx. 45min) (ii) Telephonic test (computer generated test, approx. 15min).

I also appeared for other companies like Auctus and Reliance. Auctus had direct interview SL and Reliance had Aptitude and Technical (Mech) approx. 30 minutes each.
Tips: Aptitude is a must, so practice.
Duration: 1 hour minute

Round: Group Discussion
Experience: They actually tested the skills of the way you interact in a group and essence of your points. Felt that they didn’t concentrate much on speaking skills as such.
Tips: Practice to talk in groups, current affairs  and even random topics.
Duration: 10-15 minutes minutes

Round: Technical Interview
Experience: Basic understanding of Big Data and tested on enthusiasm. 
For others: 

Reliance – Corrosion & welding based questions; it was mainly a technical round
Auctus – Only HR was taken
Housing – Puzzles and HR (same round)
Deloitte – Basic consult based questions on whatever was given in JD.


For core:Reliance – Corrosion engineering, welding courses and a bit of 1st year metallurgy. BTP was related to Corrosion and discussion about BTP happened.
Tips: Puzzles (for most startups) and HR & resume based for others mostly.

General Tips: Aptitude and puzzle preparation is a must. For interviews prepare things very much related to the company. (For startups knowledge related to their field might be a plus point)If people are looking for Non-Core: better that they do some good and useful non-core intern atleast once, taking part in competitions will also help.



2ndyears can learn ‘R’ or any other technical stuffs which can be useful for non-core (mainly, Fin or analytics)Case studies are good to prepare for one month atleast.
Skill Tips: Starting earlier helps and I started around October. Aptitude requires some time and it is better to start atleast during summer vacation. Last two months before placements can be spent for other preparations.
Skills: English based skills, How to interact with people, Aptitude
College Name: IIT MADRAS
Motivation: Mostly based on the enthusiasm towards the field of work and the basic understanding of it.
Contribute & help others!
anonymous
You can choose to be anonymous

Recently Viewed

REVIEWS

EXL Service

No Reviews

SALARIES

Serco

REVIEWS

EXL Service

No Reviews

SALARIES

Ipsos

SALARIES

Asian Paints

REVIEWS

EXL Service

No Reviews

REVIEWS

EXL Service

No Reviews

REVIEWS

EXL Service

No Reviews

REVIEWS

EXL Service

No Reviews

REVIEWS

EXL Service

No Reviews

Tell us how to improve this page.

HCLTech

A more secure future awaits you

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.4k Interviews
Accenture Interview Questions
3.8
 • 8.2k Interviews
Infosys Interview Questions
3.6
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Cognizant Interview Questions
3.7
 • 5.6k Interviews
Capgemini Interview Questions
3.7
 • 4.8k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
IBM Interview Questions
4.0
 • 2.3k Interviews
DXC Technology Interview Questions
3.7
 • 795 Interviews
View all
Process Developer
36.3k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Process Associate
28.1k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Assistant Manager
20k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Management Trainee
19.5k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Manager
7.4k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Genpact with

Accenture

3.8
Compare

Capgemini

3.7
Compare

TCS

3.7
Compare

Cognizant

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview
Rate your experience using AmbitionBox
Terrible
Terrible
Poor
Poor
Average
Average
Good
Good
Excellent
Excellent