Upload Button Icon Add office photos

Genpact

Compare button icon Compare button icon Compare

Proud winner of ABECA 2025 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Genpact SDE-2 Interview Questions and Answers

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 appeared for an interview 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

Interview questions from similar companies

SDE-2 Interview Questions & Answers

TCS user image Anonymous

posted on 16 Sep 2021

I appeared for an interview 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 Asked at Other Companies

asked in Walmart
Q1. Maximum Frequency Number Problem Statement Given an array of inte ... read more
Q2. Reverse String Operations Problem Statement You are provided with ... read more
asked in KhataBook
Q3. Alien Dictionary Problem Statement Ninja is mastering an unusual ... read more
asked in Atlassian
Q4. K Most Frequent Words Problem Statement Given an array of N non-e ... read more
asked in DP World
Q5. Count Ways To Reach The N-th Stair Problem Statement You are give ... read more

I appeared for an interview 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 appeared for an interview 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

What people are saying about Genpact

View All
a software developer
2w
10 hour workdays? Glad I quit Genpact
I’m just relieved I got out in time...I was with Genpact till last month. Genpact wants its employees to start working 10 hours a day 5 days a week...that's 50 hours weekly. And this isn't for a startup or leadership role. It's for freshers. Entry level roles with 10 hour shifts? are you serious? In 2025? When we’re talking about 4 day workweeks and burnout awareness? I’m not saying people shouldn’t work hard....we all do. But let’s stop pretending this is normal or productive. Longer hours don’t mean better output. In most cases, it just means more stress, more health issues, and faster exits. If you don’t trust your team to perform in 8 hours, maybe it’s not the employees who need training. Or 2 extra hours me koi kuch vaise bhi nahi ukhaad raha.
Got a question about Genpact?
Ask anonymously on communities.

SDE-2 Interview Questions & Answers

TCS user image Anonymous

posted on 16 Sep 2021

I appeared for an interview 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

I applied via Campus Placement and was interviewed in Aug 2021. There was 1 interview round.

Interview Questionnaire 

4 Questions

  • Q1. Tell me your self introduction
  • Ans. 

    Dynamic professional with diverse experience in management, team leadership, and strategic planning, eager to contribute to organizational success.

    • Over 5 years of experience in management roles, leading teams to achieve operational goals.

    • Successfully implemented a new project management system that improved efficiency by 30%.

    • Strong background in customer service, enhancing client satisfaction scores by 20% through effe...

  • Answered by AI
  • Q2. What is python
  • Ans. 

    Python is a high-level, interpreted programming language known for its simplicity, readability, and versatility.

    • Python is used for web development, data analysis, artificial intelligence, and more.

    • It has a large standard library and supports multiple programming paradigms.

    • Python code is often shorter and easier to read than other languages.

    • It uses indentation to indicate code blocks instead of curly braces or keywords.

    • ...

  • Answered by AI
  • Q3. What are the highlevel languages
  • Ans. 

    High-level languages are programming languages that are easier to read and write than low-level languages.

    • High-level languages are closer to human language than machine language.

    • They are easier to learn and use than low-level languages.

    • Examples of high-level languages include Java, Python, and C++.

  • Answered by AI
  • Q4. Tell me about hcl company
  • Ans. 

    HCL Technologies is a leading global IT services company based in India, specializing in software development and IT consulting.

    • Founded in 1976, HCL is one of India's original IT services companies.

    • HCL operates in over 50 countries, providing services to clients across various industries.

    • The company focuses on innovation and has invested heavily in R&D, exemplified by its HCL Innovation Labs.

    • HCL's services include ...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - This interview was a technical one but was majority a stress test it lasted for about 1hour 10minutes.the interviewer wanted to test both my knowledge and communication skills. It was my first of campus interview and I think I did pretty well for a fresher.

Skills evaluated in this interview

Interview Questionnaire 

1 Question

  • Q1. What is i t
Are these interview questions helpful?

I applied via Naukri.com and was interviewed in Apr 2021. There was 1 interview round.

Interview Questionnaire 

4 Questions

  • Q1. U have any experience?
  • Q2. What's steps to take improve business
  • Ans. 

    To improve business, steps such as analyzing data, identifying areas of improvement, implementing changes, and measuring success should be taken.

    • Analyze data to identify areas of improvement

    • Identify key performance indicators (KPIs) to measure success

    • Implement changes based on findings

    • Continuously monitor and adjust strategies as needed

    • Examples: improving customer service, streamlining processes, expanding product offe...

  • Answered by AI
  • Q3. Who could u lead the team
  • Q4. Who u share u r thoughts in business

Interview Preparation Tips

Interview preparation tips for other job seekers - It's verey important in communication skills and knowledge

I applied via Naukri.com and was interviewed in Mar 2021. There were 3 interview rounds.

Interview Questionnaire 

7 Questions

  • Q1. Tell us about yourself
  • Q2. Project experience
  • Q3. Agile knowledge
  • Q4. Business analysis - requirement gathering techniques
  • Ans. 

    Business analysis techniques for gathering requirements

    • Interviews with stakeholders

    • Surveys and questionnaires

    • Observation and job shadowing

    • Prototyping and mockups

    • Focus groups

    • Document analysis

    • Brainstorming sessions

    • JAD sessions

    • User stories and use cases

  • Answered by AI
  • Q5. User Story writing
  • Q6. How to prioritise features
  • Ans. 

    Prioritise features based on business value, user needs, technical feasibility and effort required.

    • Identify business value of each feature

    • Understand user needs and preferences

    • Assess technical feasibility and effort required

    • Consider dependencies and impact on other features

    • Use a prioritisation matrix or scoring system

    • Regularly review and adjust priorities based on feedback and changing circumstances

  • Answered by AI
  • Q7. Story slicing techniques
  • Ans. 

    Story slicing techniques are used to break down large user stories into smaller, more manageable pieces.

    • Story slicing helps to prioritize work and deliver value incrementally

    • Techniques include vertical slicing, horizontal slicing, and functional slicing

    • Vertical slicing involves breaking down a user story into smaller vertical slices that deliver end-to-end functionality

    • Horizontal slicing involves breaking down a user s...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Be on time and present yourself clearly

Interview Questionnaire 

1 Question

  • Q1. Hobbies

Tell us how to improve this page.

Interview Questions from Similar Companies

TCS Interview Questions
3.6
 • 11.1k Interviews
Accenture Interview Questions
3.7
 • 8.7k Interviews
Infosys Interview Questions
3.6
 • 7.9k Interviews
Wipro Interview Questions
3.7
 • 6.1k Interviews
Cognizant Interview Questions
3.7
 • 5.9k Interviews
Capgemini Interview Questions
3.7
 • 5.1k Interviews
Tech Mahindra Interview Questions
3.5
 • 4.1k Interviews
HCLTech Interview Questions
3.5
 • 4.1k Interviews
IBM Interview Questions
4.0
 • 2.5k Interviews
DXC Technology Interview Questions
3.7
 • 841 Interviews
View all
Process Developer
37.9k salaries
unlock blur

₹2.4 L/yr - ₹7.2 L/yr

Process Associate
28.9k salaries
unlock blur

₹1.8 L/yr - ₹4.8 L/yr

Management Trainee
22.1k salaries
unlock blur

₹4.2 L/yr - ₹8.6 L/yr

Assistant Manager
21.6k salaries
unlock blur

₹6 L/yr - ₹13.4 L/yr

Manager
7.7k salaries
unlock blur

₹10.9 L/yr - ₹19 L/yr

Explore more salaries
Compare Genpact with

Accenture

3.7
Compare

Capgemini

3.7
Compare

TCS

3.6
Compare

Cognizant

3.7
Compare
write
Share an Interview