Upload Button Icon Add office photos

Filter interviews by

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. 

    I started with brute force method but test cases were failed due to time complexity. Use a similar approach to a sliding window. Start with an empty subarray, add elements to the subarray until the sum is less than x. If the sum is greater than x, remove elements from the start of the current subarray

  • Answered Anonymously
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. 

    Step 1: create an array of fixed size 256 as 256 ascii characters are available. Initialise all the elements of array with 0.
    Step 2: iterate over array and store the frequency of every character.
    Step 3: Iterate over the array and print the characters with frequency more than 1.
    Note: problem can be solved using maps too.

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

    Tip 1 : Explain everything clearly.
    Tip 2 : Don't use the words that you are not confident about. Interviewer might ask questions based on your answers.

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

    Tip 1 : Go through DBMS concepts thoroughly.

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

    Tip 1 : Go through oops concepts thoroughly

  • Answered Anonymously

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 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. Brute Force

    For making all elements equal you can select a target value and then you can make all elements equal to that. Now, for converting a single element to a target value you can perform a single operation only once. In this manner, you can achieve your task in the maximum of  ‘N’ operations but you have to minimize this number of operations and for this, your selection of target is very important because if ...

  • Answered Anonymously
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 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. 

    use the LinkedHashSet (Set Interface) to retain the original insertion order of the elements into the set.

    The main factor that we must keep in mind when dealing with arrays is not the elements that have duplicates. The main problem here is removing the duplicates instead. Arrays are static data structures that are of fixed length, thus not possible to be altered. So, to delete elements from arrays, you need to create n...

  • Answered Anonymously
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. 

    Declare a string.
    Take out the length of that string.
    Loop through the characters of the string.
    Add the characters in reverse order in the new string.
    String str = "hello";

    String reverse = "";

    int length = str.length();

    for (int i = 0; i < length; i++) {

    reverse = str.charAt(i) + reverse;

    }

    System.out.println(reverse);

  • Answered Anonymously
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

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Write a code to split a string to one by one letter in each line?
  • Q2. Write Xpath of an element from amazon.in page manually, without copying.

Interview Preparation Tips

Topics to prepare for Capgemini Senior Sdet Engineer interview:
  • Selenium
  • Java
Interview preparation tips for other job seekers - Get proper understanding of the current tool version of the tools you are using. Basic Java programming
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I was interviewed in Dec 2024.

Round 1 - Technical 

(2 Questions)

  • Q1. What are the different phases of the Software Testing Life Cycle (STLC)?
  • Ans. 

    STLC consists of phases like requirement analysis, test planning, test design, test execution, and test closure.

    • Requirement Analysis: Understanding the project requirements and defining the scope of testing.

    • Test Planning: Creating a test plan which includes test strategy, test objectives, and resource planning.

    • Test Design: Developing test cases and test scenarios based on requirements.

    • Test Execution: Running the test c...

  • Answered by AI
  • Q2. Can you write a program that outputs a sentence in reverse?
  • Ans. 

    Yes, I can write a program that outputs a sentence in reverse.

    • Create a function that takes a string as input

    • Split the string into an array of words

    • Reverse the array

    • Join the array back into a string and return

  • Answered by AI
Round 2 - HR 

(2 Questions)

  • Q1. Can you introduce yourself?
  • Ans. 

    I am a dedicated SDET Automation Test Engineer with 5 years of experience in creating and executing automated test scripts.

    • 5 years of experience in automation testing

    • Proficient in creating and executing automated test scripts

    • Strong knowledge of testing tools like Selenium and JUnit

    • Experience in Agile development environment

    • Excellent problem-solving skills

  • Answered by AI
  • Q2. What are your salary expectations?
  • Ans. 

    My salary expectations are based on my experience, skills, and the market rate for the position.

    • Research the average salary range for SDET Automation Test Engineers in the industry

    • Consider your level of experience and skills compared to the job requirements

    • Factor in any additional benefits or perks offered by the company

    • Be prepared to negotiate based on the overall compensation package

  • Answered by AI

Sdet Engineer Interview Questions & Answers

Accenture user image AKANKSHA JAISWAL

posted on 28 Nov 2024

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-

I applied via Campus Placement

Round 1 - Coding Test 

Apt and coding test was in first

Round 2 - Coding Test 

2 coding questions was ask

Round 3 - One-on-one 

(2 Questions)

  • Q1. It was on your resume question
  • Q2. Hr questions was asked in interview
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Overloading and overriding
  • Q2. Smoke and sanity
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. Manual Testing Concepts
  • Q2. What are Oops Concepts
  • Ans. 

    Oops Concepts are fundamental principles of object-oriented programming such as Inheritance, Encapsulation, Polymorphism, and Abstraction.

    • Inheritance: Allows a class to inherit properties and behavior from another class.

    • Encapsulation: Bundling data and methods that operate on the data into a single unit.

    • Polymorphism: Ability of a function to behave differently based on the object it is acting upon.

    • Abstraction: Hiding t...

  • Answered by AI
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via LinkedIn and was interviewed in Sep 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. What is Hard assert
  • Ans. 

    Hard assert is a type of assertion in test automation that stops the test execution immediately when a failure occurs.

    • Hard assert is used to validate the expected outcome of a test case

    • If the assertion fails, the test execution is halted and marked as failed

    • It is commonly used in automated test scripts to ensure the correctness of the application under test

  • Answered by AI
  • Q2. What is soft assert
  • Ans. 

    Soft assert is a way to continue the execution of a test case even after an assertion failure.

    • Soft assert does not stop the execution of the test case when an assertion fails.

    • It is useful when you want to log the failure but continue with the remaining test steps.

    • Soft assert is commonly used in test automation frameworks like TestNG in Java.

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Jul 2024. There were 3 interview rounds.

Round 1 - HR 

(2 Questions)

  • Q1. What are the methods of select
  • Ans. 

    Methods of selecting elements in automation testing include using locators, XPath, CSS selectors, and various other strategies.

    • Using locators such as ID, class name, name, tag name, link text, and partial link text

    • Using XPath to navigate through elements in the HTML structure

    • Using CSS selectors to target elements based on their styles

    • Using various strategies like text matching, attribute values, and sibling/child relat...

  • Answered by AI
  • Q2. Background keyword of cucumber
  • Ans. 

    Cucumber is a keyword used in BDD (Behavior Driven Development) testing framework to define test scenarios in a human-readable format.

    • Cucumber is used to write test scenarios in Gherkin language

    • It helps in bridging the communication gap between technical and non-technical team members

    • Cucumber allows for easy collaboration and understanding of test cases

  • Answered by AI
Round 2 - Technical 

(2 Questions)

  • Q1. What is overriding
  • Ans. 

    Overriding is a concept in object-oriented programming where a subclass provides a specific implementation of a method that is already provided by its superclass.

    • Inheritance allows a subclass to inherit methods from its superclass.

    • Overriding allows a subclass to provide a specific implementation of a method that is already defined in its superclass.

    • The method in the subclass must have the same name, return type, and pa...

  • Answered by AI
  • Q2. Basic java programs
Round 3 - HR 

(2 Questions)

  • Q1. What are your strengths
  • Ans. 

    My strengths include attention to detail, problem-solving skills, and strong communication abilities.

    • Attention to detail - I have a keen eye for spotting errors and ensuring accuracy in my work.

    • Problem-solving skills - I am able to analyze complex problems and come up with effective solutions.

    • Strong communication abilities - I can effectively communicate with team members and stakeholders to ensure clarity and collabor

  • Answered by AI
  • Q2. Explain agile process and environment
  • Ans. 

    Agile process is a software development methodology that promotes adaptive planning, evolutionary development, early delivery, and continuous improvement.

    • Agile process involves breaking down the project into small increments called sprints

    • It emphasizes collaboration between cross-functional teams

    • Feedback is gathered regularly from stakeholders to make necessary adjustments

    • Scrum, Kanban, and XP are common frameworks use

  • Answered by AI

Skills evaluated in this interview

Tell us how to improve this page.

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.4k Interviews
Accenture Interview Questions
3.9
 • 8.1k Interviews
Infosys Interview Questions
3.7
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Cognizant Interview Questions
3.8
 • 5.6k Interviews
Capgemini Interview Questions
3.8
 • 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.4k Interviews
DXC Technology Interview Questions
3.7
 • 805 Interviews
View all
Process Developer
36.2k salaries
unlock blur

₹1 L/yr - ₹6.8 L/yr

Process Associate
28k salaries
unlock blur

₹0.9 L/yr - ₹6.5 L/yr

Assistant Manager
19.8k salaries
unlock blur

₹5 L/yr - ₹14 L/yr

Management Trainee
19.2k salaries
unlock blur

₹1.6 L/yr - ₹8.5 L/yr

Manager
7.4k salaries
unlock blur

₹7 L/yr - ₹24 L/yr

Explore more salaries
Compare Genpact with

Accenture

3.9
Compare

Capgemini

3.8
Compare

TCS

3.7
Compare

Cognizant

3.8
Compare
Did you find this page helpful?
Yes No
write
Share an Interview