Premium Employer

i

This company page is being actively managed by Publicis Sapient Team. If you also belong to the team, you can get access from here

Publicis Sapient Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Clear (1)

Publicis Sapient Software Developer Interview Questions, Process, and Tips

Updated 13 Jan 2025

Top Publicis Sapient Software Developer Interview Questions and Answers

  • Q1. Make Array Elements Equal Problem Statement Given an integer array, your objective is to change all elements to the same value, minimizing the cost. The cost of changing ...read more
  • Q2. pirates of different ages have a treasure of 100 gold coins. On their ship, they decide to split the coins using this scheme: The oldest pirate proposes how to share the ...read more
  • Q3. Merge Two Sorted Lists (In-Place) Problem Statement You are given two sorted linked lists. Your task is to merge them to form a combined sorted linked list and return th ...read more
View all 50 questions

Publicis Sapient Software Developer Interview Experiences

19 interviews found

I appeared for an interview before Nov 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 minutes
Round difficulty - Medium

There were 2 coding questions . 

  • Q1. 

    0/1 Knapsack Problem Statement

    A thief plans to rob a store and can carry a knapsack with a maximum weight capacity of 'W'. The store contains 'N' items, each with a specified weight and value known to th...

  • Ans. 

    The 0/1 Knapsack Problem involves maximizing profit by selecting items with specified weights and values within a knapsack's weight capacity.

    • Create a 2D array to store the maximum profit that can be achieved at each weight capacity and item index.

    • Iterate through each item and weight capacity, updating the maximum profit based on whether the item is included or not.

    • Return the maximum profit achievable with the given ite...

  • Answered by AI
  • Q2. 

    Minimum Cost Path Problem Statement

    Given an N x M matrix filled with integers, determine the minimum sum obtainable from a path that starts at a specified cell (x, y) and ends at the top left corner of t...

  • Ans. 

    Find the minimum sum path from a specified cell to the top left corner of a matrix.

    • Use dynamic programming to keep track of the minimum sum at each cell

    • Consider all possible moves (down, right, diagonal) from each cell

    • Start from the specified cell and work towards the top left corner

    • Add the value of the current cell to the minimum sum of the previous cells

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaCGPA above 7.5Publicis Sapient interview preparation:Topics to prepare for the interview - Arrays , Trees , Graphs , DP & Recursion (Memoization) and Backtracking, SQL queries, graph based problems Time required to prepare for the interview - 9 MonthsInterview preparation tips for other job seekers

Tip 1 : Must Solve Top Interview questions sincerely and have notebook where you write important Algorithms for future reference
Tip 2 : Practice about 800-1000 problems with about 5 - 10 problems a day. If you get bored then switch site for practice or just study topics that you like most to stay engaged. Consistency is the key. 
Tip 3 : To make CV attractive add projects from either WEBD or ML . Both are fine. Also try to be through with the projects as any question can be asked related to them to test your knowledge. Also, consult with seniors and show them your CV as they provide helpful insights to make CV better .

Application resume tips for other job seekers

Tip 1 : Nice indented resume with Key word highlighted .
Tip 2 : Be ready with all the topics related to your Internship / Projects as they are key point of discussion in interview. Write only those projects that you completed yourself because the interviewer knows when you are lying.

Final outcome of the interviewRejected

Skills evaluated in this interview

I appeared for an interview before Mar 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 75 minutes
Round difficulty - Medium

The round had 2 coding problems to solve with varying difficulty. Each candidate had a different set of questions. The round was around 2 pm. The webcam was turned on to keep an eye on candidates.

  • Q1. 

    Merge Two Sorted Lists (In-Place) Problem Statement

    You are given two sorted linked lists. Your task is to merge them to form a combined sorted linked list and return the head of this final linked list.

    ...

  • Ans. 

    Merge two sorted linked lists in-place to form a combined sorted linked list.

    • Create a dummy node to start the merged list

    • Compare nodes from both lists and link them accordingly

    • Update the pointer to the next node in the merged list

    • Handle cases where one list is longer than the other

    • Return the head of the merged list

  • Answered by AI
  • Q2. 

    Make Array Elements Equal Problem Statement

    Given an integer array, your objective is to change all elements to the same value, minimizing the cost. The cost of changing an element from x to y is defined ...

  • Ans. 

    Find the minimum cost to make all elements of an array equal by changing them to a common value.

    • Calculate the median of the array and find the sum of absolute differences between each element and the median.

    • Sort the array and find the median element, then calculate the sum of absolute differences between each element and the median.

    • If the array has an even number of elements, consider the average of the two middle elem

  • Answered by AI
Round 2 - Video Call 

(2 Questions)

Round duration - 50 minutes
Round difficulty - Medium

This round had 2 questions related to DSA. I was first asked to explain my approach with proper complexity analysis and then code the soution in any IDE that I prefer.

  • Q1. 

    Count Subarrays with XOR=X Problem Statement

    You are given an array of integers 'ARR' and an integer 'X'. Your task is to determine the number of subarrays in 'ARR' whose elements have a bitwise XOR equal...

  • Ans. 

    Count the number of subarrays in an array whose elements have a bitwise XOR equal to a given value.

    • Iterate through all subarrays and calculate the XOR value for each subarray.

    • Keep track of the count of subarrays with XOR equal to the given value.

    • Use a hashmap to store the XOR values encountered and their frequencies for efficient lookup.

    • Handle edge cases like empty array or XOR value of 0 separately.

    • Example: For input ...

  • Answered by AI
  • Q2. 

    Merge K Sorted Arrays Problem Statement

    Given 'K' different arrays that are individually sorted in ascending order, merge all these arrays into a single array that is also sorted in ascending order.

    Inpu...

  • Ans. 

    Merge K sorted arrays into a single sorted array.

    • Iterate through all arrays and merge them using a min-heap.

    • Use a priority queue to efficiently merge the arrays.

    • Time complexity can be optimized to O(N log K) using a min-heap.

  • Answered by AI
Round 3 - Video Call 

(6 Questions)

Round duration - 60 minutes
Round difficulty - Medium

This round had 2 Algorithmic questions wherein I was supposed to code both the problems after discussing their approaches and respective time and space complexities . After that , I was grilled on some OOPS concepts related to C++.

  • Q1. 

    Longest Palindromic Substring Problem Statement

    You are provided with a string STR of length N. The goal is to identify the longest palindromic substring within this string. In cases where multiple palind...

  • Ans. 

    Identify the longest palindromic substring in a given string.

    • Iterate through the string and expand around each character to find palindromes

    • Keep track of the longest palindrome found

    • Return the longest palindrome with the smallest start index

  • Answered by AI
  • Q2. 

    Quick Sort Algorithm

    Sort the given array of integers in ascending order using the quick sort algorithm.

    Explanation:

    Quick sort is a divide and conquer algorithm where a pivot is chosen to partition th...

  • Ans. 

    Yes, the quick sort algorithm can be optimized to achieve NlogN complexity in the worst case by choosing the pivot element strategically.

    • Choose the pivot element as the median of the first, middle, and last elements of the array to reduce the chances of worst-case scenarios.

    • Implement a hybrid sorting algorithm that switches to a different sorting algorithm like insertion sort for small subarrays to improve efficiency.

    • R...

  • Answered by AI
  • Q3. What is the difference between Early Binding and Late Binding in C++?
  • Ans. 

    Early binding is resolved at compile time, while late binding is resolved at runtime in C++.

    • Early binding is also known as static binding, where the function call is resolved at compile time based on the type of the object.

    • Late binding is also known as dynamic binding, where the function call is resolved at runtime based on the actual type of the object.

    • Early binding is faster as the function call is directly mapped to...

  • Answered by AI
  • Q4. What is data abstraction and how can it be achieved?
  • Ans. 

    Data abstraction is the process of hiding the implementation details of a data structure and only showing the necessary information to the user.

    • Data abstraction can be achieved through the use of abstract classes and interfaces in object-oriented programming.

    • It helps in reducing complexity by providing a simplified view of the data.

    • Example: In Java, abstract classes and interfaces are used to achieve data abstraction.

    • E...

  • Answered by AI
  • Q5. What is the Diamond Problem in C++ and how can it be resolved?
  • Ans. 

    Diamond Problem is a common issue in multiple inheritance in C++ where a class inherits from two classes that have a common base class.

    • Diamond Problem occurs when a class inherits from two classes that have a common base class, leading to ambiguity in accessing members.

    • It can be resolved in C++ using virtual inheritance, where the common base class is inherited virtually to avoid duplicate copies of base class members.

    • ...

  • Answered by AI
  • Q6. What are friend functions in C++?
  • Ans. 

    Friend functions in C++ are functions that are not members of a class but have access to its private and protected members.

    • Friend functions are declared inside a class with the 'friend' keyword.

    • They can access private and protected members of the class they are friends with.

    • Friend functions are not member functions of the class.

    • They can be used to allow external functions or classes to access private members of a class

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPASapient Corporation interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, DBMS, OS, Aptitude, OOPSTime required to prepare for the interview - 4 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewSelected

Skills evaluated in this interview

Software Developer Interview Questions Asked at Other Companies

asked in Amazon
Q1. Maximum Subarray Sum Problem Statement Given an array of integers ... read more
asked in Amazon
Q2. Minimum Number of Platforms Needed Problem Statement You are give ... read more
asked in Rakuten
Q3. Merge Two Sorted Arrays Problem Statement Given two sorted intege ... read more
asked in Cognizant
Q4. Nth Fibonacci Number Problem Statement Calculate the Nth term in ... read more
Q5. Find Duplicate in Array Problem Statement You are provided with a ... read more

Interview Questionnaire 

2 Questions

  • Q1. Reverse linked list
  • Q2. Invert tree

I appeared for an interview before Mar 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 75 minutes
Round difficulty - Medium

This was an online coding round where we had 2 questions to solve under 75 minutes. I found both the questions to be of Easy to Medium level of difficulty.

  • Q1. 

    Line Reflection Problem Statement

    You are given several sets of points on a 2D plane, each set represented as a list of coordinates. Your task is to determine if there exists a line parallel to the Y-axis...

  • Ans. 

    The task is to determine if there exists a line parallel to the Y-axis that reflects given points symmetrically.

    • Iterate through each test case and check if a vertical reflection line exists for the given points

    • Calculate the midpoint of the x-coordinates and check if it reflects the points symmetrically

    • Consider edge cases where points are on the reflection line or have the same x-coordinate

  • Answered by AI
  • Q2. 

    Number of Islands Problem Statement

    You are provided with a 2-dimensional matrix having N rows and M columns, containing only 1s (land) and 0s (water). Your goal is to determine the number of islands in t...

  • Ans. 

    Count the number of islands in a 2D matrix of 1s and 0s.

    • Iterate through the matrix and perform depth-first search (DFS) to find connected 1s.

    • Mark visited cells to avoid redundant traversal.

    • Increment island count whenever a new island is encountered.

  • Answered by AI
Round 2 - Face to Face 

(4 Questions)

Round duration - 60 minutes
Round difficulty - Medium

This round had 2 coding questions followed by some questions from DBMS.

  • Q1. 

    Largest Rectangle in Histogram Problem Statement

    You are given an array/list HEIGHTS of length N, where each element represents the height of a histogram bar. The width of each bar is considered to be 1.

    ...
  • Ans. 

    Find the area of the largest rectangle that can be formed within the bounds of a given histogram.

    • Iterate through the histogram bars and calculate the area of the largest rectangle that can be formed using each bar as the height.

    • Use a stack to keep track of the indices of the bars in non-decreasing order of height.

    • Pop elements from the stack and calculate the area until a smaller height bar is encountered.

    • Update the max...

  • Answered by AI
  • Q2. 

    Valid Parentheses Problem Statement

    Given a string 'STR' consisting solely of the characters “{”, “}”, “(”, “)”, “[” and “]”, determine if the parentheses are balanced.

    Input:

    The first line contains an...
  • Ans. 

    The task is to determine if a given string consisting of parentheses is balanced or not.

    • Iterate through the characters of the string and use a stack to keep track of opening parentheses.

    • If an opening parenthesis is encountered, push it onto the stack.

    • If a closing parenthesis is encountered, check if it matches the top of the stack. If it does, pop the stack, else the string is not balanced.

    • At the end, if the stack is e...

  • Answered by AI
  • Q3. Can you explain the concept of ACID properties in DBMS?
  • Ans. 

    ACID properties in DBMS ensure data integrity and consistency in transactions.

    • Atomicity: All operations in a transaction are completed successfully or none at all.

    • Consistency: Data is always in a valid state before and after a transaction.

    • Isolation: Transactions are isolated from each other to prevent interference.

    • Durability: Once a transaction is committed, changes are permanent and survive system failures.

    • Example: If...

  • Answered by AI
  • Q4. Can you explain the different levels of data abstraction in a DBMS?
  • Ans. 

    Levels of data abstraction in a DBMS refer to the different views of data provided to users and applications.

    • Physical level: Deals with how data is stored on the storage media. Example: data blocks, pages, indexes.

    • Logical level: Focuses on how data is represented to users. Example: tables, views, constraints.

    • View level: Provides a customized view of the database for specific users or applications. Example: queries, rep

  • Answered by AI
Round 3 - Face to Face 

(4 Questions)

Round duration - 60 minutes
Round difficulty - Medium

Standard DS/Algo round with 2 coding questions followed by 2 interesting puzzles.

  • Q1. 

    Cycle Detection in Undirected Graph Problem Statement

    You are provided with an undirected graph containing 'N' vertices and 'M' edges. The vertices are numbered from 1 to 'N'. Your objective is to determi...

  • Ans. 

    Detect if an undirected graph contains a cycle by exploring all possible paths.

    • Use Depth First Search (DFS) algorithm to traverse the graph and detect cycles.

    • Maintain a visited set to keep track of visited vertices and a parent pointer to avoid visiting the same vertex twice.

    • If a visited vertex is encountered that is not the parent of the current vertex, a cycle is present.

    • Consider edge cases like disconnected graphs a

  • Answered by AI
  • Q2. 

    Maximum 1s in a Row Problem

    Given a matrix ARR with dimensions N * M, consisting only of 0s and 1s where each row is sorted, determine the index of the row that contains the highest number of 1s. If multi...

  • Ans. 

    Find the row with the maximum number of 1s in a sorted matrix.

    • Iterate through each row of the matrix and count the number of 1s in each row

    • Keep track of the row index with the maximum number of 1s

    • Return the index of the row with the highest count of 1s

  • Answered by AI
  • Q3. You have two wires of different lengths, each taking different amounts of time to burn completely. How can you use these wires to measure a specific duration of time?
  • Ans. 

    By lighting both wires at the same time, the shorter wire will burn out first, allowing you to measure a specific duration of time.

    • Light both wires at the same time

    • Measure the time it takes for the shorter wire to burn out completely

    • The remaining length of the longer wire will indicate the specific duration of time

  • Answered by AI
  • Q4. You have 3 ants located at the corners of a triangle. The challenge is to determine the movement pattern of the ants if they all start moving towards each other. What will be the outcome?

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPASapient Corporation interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, DBMS, OS, Aptitude, OOPSTime required to prepare for the interview - 4 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewSelected

Skills evaluated in this interview

Publicis Sapient interview questions for designations

 Associate Software Developer

 (4)

 Senior Software Developer

 (2)

 Software Developer Intern

 (1)

 Full Stack Software Developer

 (1)

 Developer

 (1)

 Software Engineer

 (13)

 Java Developer

 (4)

 AEM Developer

 (2)

Software Developer Interview Questions & Answers

user image Bala Krishna

posted on 16 Aug 2015

Interview Questionnaire 

4 Questions

  • Q1. Explain Network Layers?
  • Ans. 

    Network layers are a hierarchical way of organizing communication protocols.

    • Network layers provide a modular approach to networking.

    • Each layer has a specific function and communicates with adjacent layers.

    • The OSI model has 7 layers, while the TCP/IP model has 4 layers.

    • Examples of layers include the physical layer, data link layer, network layer, transport layer, and application layer.

  • Answered by AI
  • Q2. What is a Dead Lock?
  • Ans. 

    Deadlock is a situation where two or more processes are unable to proceed because they are waiting for each other to release resources.

    • Occurs in multi-threaded/multi-process environments

    • Can lead to system freeze or crash

    • Prevention techniques include resource ordering and timeouts

    • Example: Process A holds resource X and waits for resource Y, while Process B holds resource Y and waits for resource X

  • Answered by AI
  • Q3. Explain Paging and Segmentation
  • Ans. 

    Paging and Segmentation are memory management techniques used by operating systems.

    • Paging divides memory into fixed-size pages and stores them in physical memory.

    • Segmentation divides memory into logical segments and stores them in physical memory.

    • Paging allows for efficient use of physical memory and reduces fragmentation.

    • Segmentation allows for protection and sharing of memory between processes.

    • Examples of operating s...

  • Answered by AI
  • Q4. Pirates of different ages have a treasure of 100 gold coins. On their ship, they decide to split the coins using this scheme: The oldest pirate proposes how to share the coins, the OTHER pirates (not inc...

Interview Preparation Tips

Round: Test
Experience: It would quite a simple test, covering basic questions from general mathematics and algebra
Tips: Practice "Aptitude" on daily basis

Round: Technical Interview
Experience: Technical Interview in sapient will be quite related to understand of your basic concepts. The round also includes Puzzles. Try Practising some random puzzles from internet.
Tips: Be active and Interactive. Even, if you do not know the answer, try explaining your approach. That would get you marks.

Round: HR Interview
Experience: The HR carries larger wait-age in Sapient. Do not panic. He will give you enough time to settle down by asking background questions. He will only try to analyse the kind of person you are. Be true to yourself and your are sure to be successful

Skills: Basic Concepts of Launguages, Operating System, Networks
College Name: NIT JALANDHAR

Skills evaluated in this interview

Get interview-ready with Top Publicis Sapient Interview Questions

Interview Preparation Tips

Round: Test
Experience: Technical sections had questions from almost all the sections through AMCAT(C, C++, DBMS, DS, OS)(level :moderate)Quantitative aptitude’s questions were good.. All were almost of R. S. Aggarwal level though few exceptions were there tooLogical reasoning and verbal ability was good.. Some questions were tough.

Round: HR Interview
Experience: Overall enjoyed. But not selected because of my less market knowledge.

College Name: NA

Interview Questionnaire 

13 Questions

  • Q1. Indroduce yourself ?
  • Ans. 

    I am a software developer with experience in various programming languages and frameworks.

    • Proficient in Java, C++, and Python

    • Familiar with web development using HTML, CSS, and JavaScript

    • Experience with database management systems such as MySQL and MongoDB

    • Strong problem-solving and analytical skills

    • Worked on projects involving machine learning and artificial intelligence

  • Answered by AI
  • Q2. Difference between method overloading and methode overriding ?
  • Ans. 

    Method overloading is having multiple methods with the same name but different parameters. Method overriding is having a subclass method with the same name and parameters as a superclass method.

    • Method overloading is used to provide different ways of calling the same method with different parameters.

    • Method overriding is used to provide a specific implementation of a method in a subclass that is already defined in the su...

  • Answered by AI
  • Q3. Difference between switch case and if else statement?
  • Ans. 

    Switch case is used for multiple conditions while if else is used for binary conditions.

    • Switch case is faster than if else for multiple conditions.

    • If else can handle complex conditions while switch case cannot.

    • Switch case can only compare values of the same data type.

    • If else can handle null values while switch case cannot.

    • Example: switch (day) { case 1: console.log('Monday'); break; case 2: console.log('Tuesday'); brea...

  • Answered by AI
  • Q4. What is interface and abstract class?
  • Ans. 

    Interface and abstract class are both used for abstraction in object-oriented programming.

    • An interface is a collection of abstract methods that define a contract for a class to implement.

    • An abstract class is a class that cannot be instantiated and may contain abstract methods.

    • Interfaces are used to achieve multiple inheritance in Java.

    • Abstract classes can have non-abstract methods and instance variables.

    • An example of a...

  • Answered by AI
  • Q5. Whats is polymorphisom?
  • Ans. 

    Polymorphism is the ability of an object to take on many forms.

    • It allows objects of different classes to be treated as if they were objects of the same class.

    • It is achieved through method overriding and method overloading.

    • Example: A shape class can have multiple subclasses like circle, square, etc. and all can be treated as shapes.

    • Example: A method can have different implementations in different classes but with the sa

  • Answered by AI
  • Q6. What is inherritance ?
  • Ans. 

    Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.

    • Inheritance allows code reusability and saves time and effort in writing new code.

    • The existing class is called the parent or base class, and the new class is called the child or derived class.

    • The child class inherits all the properties and methods of the parent class and can also add its ...

  • Answered by AI
  • Q7. Default case in switch case
  • Ans. 

    Default case in switch case statement

    • Default case is executed when no other case matches the switch expression

    • It is optional and can be placed anywhere in the switch statement

    • It is often used to handle unexpected input or errors

    • It should always be the last case in the switch statement

  • Answered by AI
  • Q8. Introduce yourself apart from resume?
  • Ans. 

    I am a passionate software developer with a strong background in web development and a love for problem-solving.

    • Experienced in HTML, CSS, JavaScript, and various web development frameworks

    • Proficient in backend development using languages like Java, Python, and Node.js

    • Familiar with database management systems such as MySQL and MongoDB

    • Strong problem-solving skills and ability to work well in a team environment

  • Answered by AI
  • Q9. What is your weaknesses ?
  • Ans. 

    I tend to get overly focused on details, which can sometimes slow down my progress.

    • I have a tendency to spend too much time on perfecting small details

    • I sometimes struggle with prioritizing tasks due to my focus on details

    • I am working on improving my time management skills to balance detail-oriented work with efficiency

  • Answered by AI
  • Q10. Do you have any offer from any other company ?
  • Ans. 

    Yes, I have received offers from two other companies.

    • Received offers from Company A and Company B

    • Currently evaluating all offers to make an informed decision

    • Considering factors like company culture, growth opportunities, and compensation

  • Answered by AI
  • Q11. Which company would you like to join apart from sapient ?
  • Ans. 

    I would like to join Google because of their innovative projects and work culture.

    • Google is known for its cutting-edge technology and innovative projects.

    • They have a strong focus on employee well-being and work-life balance.

    • Google offers opportunities for career growth and development.

    • The company has a diverse and inclusive work culture.

    • Google is a leader in the tech industry with a global presence.

  • Answered by AI
  • Q12. Have you ever worked in a team?
  • Ans. 

    Yes, I have worked in multiple teams in various projects.

    • Worked in a team of developers to create a new software application

    • Collaborated with designers, testers, and project managers to meet project deadlines

    • Participated in daily stand-up meetings to discuss progress and roadblocks

  • Answered by AI
  • Q13. 8 metals bolls are similar ?
  • Ans. 

    Yes, they are similar.

    • All 8 metal balls are of the same material.

    • They have the same size and weight.

    • They have the same physical properties.

    • They are interchangeable in any given situation.

  • Answered by AI

Interview Preparation Tips

College Name: NIT Meghalaya

Skills evaluated in this interview

Interview Questionnaire 

11 Questions

  • Q1. What is the difference between C and C++?
  • Ans. 

    C++ is an extension of C with object-oriented programming features.

    • C++ supports classes and objects while C does not.

    • C++ has better support for polymorphism and inheritance.

    • C++ has a standard template library (STL) which C does not have.

    • C++ allows function overloading while C does not.

    • C++ has exception handling while C does not.

  • Answered by AI
  • Q2. What is the difference between for and while loop?
  • Ans. 

    For loop is used for iterating over a sequence while while loop is used for iterating until a condition is met.

    • For loop is used when the number of iterations is known beforehand

    • While loop is used when the number of iterations is not known beforehand

    • For loop is faster than while loop for iterating over a sequence

    • While loop is useful for iterating until a specific condition is met

    • For loop can be used with range() functio...

  • Answered by AI
  • Q3. Write a program to add two numbers without using + operator
  • Q4. How to you reverse a string without using any looping and inbuilt functions?
  • Ans. 

    To reverse a string without using any looping and inbuilt functions, we can use recursion.

    • Create a function that takes a string as input.

    • If the length of the string is 0 or 1, return the string.

    • Otherwise, call the function recursively with the substring starting from the second character and concatenate the first character at the end.

    • Return the reversed string.

    • Example: reverseString('hello') returns 'olleh'.

  • Answered by AI
  • Q5. How many queues will you use to implement a priority queue?
  • Ans. 

    A priority queue can be implemented using a single queue or multiple queues.

    • One approach is to use a single queue and assign priorities to elements using a separate data structure.

    • Another approach is to use multiple queues, each representing a different priority level.

    • For example, if there are three priority levels, three queues can be used to implement the priority queue.

  • Answered by AI
  • Q6. Which datastructure would you use to implement an heteregenous array?
  • Ans. 

    An array of objects can be used to implement a heterogeneous array.

    • Each element in the array can be an object that represents a different data type.

    • The objects can have different properties and methods based on their respective data types.

    • For example, an element can be an object representing a string with a 'value' property and a 'length' method.

  • Answered by AI
  • Q7. Tell me about yourself?
  • Q8. Describe your project?
  • Ans. 

    Developed a web-based inventory management system for a retail company.

    • Used HTML, CSS, and JavaScript for the front-end development.

    • Implemented a RESTful API using Node.js and Express for the back-end.

    • Utilized a MySQL database to store and manage inventory data.

    • Implemented features like product search, order management, and reporting.

    • Ensured data security and user authentication using encryption and JWT.

    • Collaborated wi...

  • Answered by AI
  • Q9. You are given a match-box and two candles of equal size, which can burn 1 hour each. You have to measure 90 minutes with these candles. (There is no scale or clock). How do you do?
  • Q10. You have 8 balls which are identical(completely). You are given a weighing scale. How many times would you measure to get the odd ball out?
  • Q11. Three friends rent a room for Rs.30 by paying Rs.10 each. The owner decides to give them a discount Rs.5 and gives it to the broker. The broker who a cunning man takes Rs.2. and returns one rupee to each ...
  • Ans. 

    The missing rupee is not actually missing. The calculation is misleading and does not account for the total amount paid.

    • The initial amount paid by each person was Rs.10, totaling Rs.30.

    • The owner gave them a discount of Rs.5, so they paid Rs.25 in total.

    • The broker took Rs.2, leaving them with Rs.23.

    • When the broker returned Rs.1 to each person, they each received Rs.1 back, totaling Rs.3.

    • So, the total amount paid by the ...

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: Let me share my interview process with Sapient. As I did not find any helpful papers before attending interview.The initial test was amcat test, which consisted of aptitude, english comprehension(which was annoying because they ask a lot of unknown word meanings), C and C++ basic concepts. I cleared that test.

Round: Technical Interview
Experience: There are 2 interviews round
1) Technical
2) HR

General Tips: Bond: 1.5 yearEligibility Criteria : Greater than 6.5 CGPA
Skills: C++, Java, Algorithm
College Name: NA
Motivation: Sapient, Trust me it’s an awesome company .Be strong in technical area.

Skills evaluated in this interview

Interview Questionnaire 

13 Questions

  • Q1. Inheritence in java?
  • Ans. 

    Inheritance in Java allows a class to inherit properties and methods from another class.

    • Inheritance is achieved using the 'extends' keyword.

    • The class that is being inherited from is called the superclass or parent class.

    • The class that inherits from the superclass is called the subclass or child class.

    • Subclasses can access the public and protected members of the superclass.

    • Inheritance promotes code reusability and allow...

  • Answered by AI
  • Q2. Overloading and Overridding?
  • Q3. WAP to check if no is palindrom or not?
  • Ans. 

    A program to check if a given number is a palindrome or not.

    • Convert the number to a string.

    • Reverse the string and compare it with the original string.

    • If they are equal, the number is a palindrome.

    • If not, the number is not a palindrome.

  • Answered by AI
  • Q4. Primary key and Composite key?
  • Q5. Normalisation?
  • Ans. 

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

    • It involves breaking down a table into smaller tables and defining relationships between them.

    • Normalization helps to eliminate data inconsistencies and anomalies.

    • There are different levels of normalization, with each level having specific rules to follow.

    • For example, first normal form (1NF) requires that each t...

  • Answered by AI
  • Q6. Without lifting the pen meet 9 point arranged in squre of 3×3, using 4 lines?
  • Q7. If I am ready to relocate anywhere in India or Outside upon company needs
  • Ans. 

    Yes, I am ready to relocate anywhere in India or outside upon company needs.

    • I am open to exploring new locations and cultures.

    • I understand that relocation may be necessary for career growth and opportunities.

    • I am adaptable and willing to adjust to new environments.

    • I have experience working in diverse teams and can easily integrate into new settings.

  • Answered by AI
  • Q8. If I am ready to accept a project in Java, if Sapient had trained you in DotNet earlier
  • Ans. 

    I would be ready to accept a project in Java even if I was trained in DotNet earlier.

    • I have a strong foundation in programming principles and concepts, which can be applied to any language.

    • I am confident in my ability to quickly learn and adapt to new technologies.

    • I have experience working with multiple programming languages and frameworks.

    • I can leverage my knowledge of DotNet to understand similar concepts in Java.

    • I a...

  • Answered by AI
  • Q9. Why I want to join Sapient
  • Ans. 

    I want to join Sapient because of its reputation for innovative projects and collaborative work environment.

    • Sapient is known for working on cutting-edge projects that push the boundaries of technology

    • I value the collaborative work environment at Sapient, where team members support each other to achieve success

    • I am impressed by Sapient's commitment to professional development and growth opportunities for employees

  • Answered by AI
  • Q10. My Expectations from Sapient
  • Ans. 

    My expectations from Sapient

    • I expect Sapient to provide a challenging and innovative work environment

    • I expect Sapient to offer opportunities for professional growth and learning

    • I expect Sapient to have a collaborative and supportive team culture

    • I expect Sapient to provide competitive compensation and benefits

    • I expect Sapient to have a strong focus on quality and delivering excellent software solutions

  • Answered by AI
  • Q11. What is Counter Strike. ( I mentioned winning a couple of gaming events in my Resume)
  • Q12. What is Trading/Stocks/Exchange. (I had shown my interest in these things by mentioning the development of DalalStreet website by me)
  • Q13. What are you proud of apart from your website DalalStreet and a few more

Interview Preparation Tips

Round: Test
Experience: Vendor based online test consisting of 4 sections – Maths, Logical Reasoning, English and Technical(C/C++/DS/Debugging based Questions). This includes Sectional CutOff as well.

Round: Technical Interview
Experience: Another One on One Interview. Technical Questions on Languages/DataBases and Projects/Internships mentioned by you in your Resume. Lots of Puzzles.
In my case the Interviewer asked me questions on Database(3-4 queries),PHP,HTML,CSS,Internship,C/C++ Basics. Also I had 4 puzzles.

Round: HR Interview
Experience: Key : Just be yourself and be Confident in whatever you say. Show your eagerness to learn things (even if you don’t want to ). If you don’t know anything, Confidently speak up you don’t know. They hardly care, they only see if you are willing to learn.

General Tips: I would add here that SGM is majorly into developing Trading application. SGM – GlobalMarketInstitute would provide you with 6 months of training in technology(Java/DotNet) and Finance(Share/Exchange/Equities etc), which would be a great experience. Hence a knowledge and interest in Share Trading stuff is highly appreciated if you plan to grow your career in Sapient Global Markets.(Bond Agreement of 1.5 years which includes 6 months of Training Period)
Skills: PHP, Databases, C++, Java, .NET
College Name: MNIT Jaipur

Skills evaluated in this interview

Contribute & help others!
anonymous
You can choose to be anonymous

Publicis Sapient Interview FAQs

How many rounds are there in Publicis Sapient Software Developer interview?
Publicis Sapient interview process usually has 2-3 rounds. The most common rounds in the Publicis Sapient interview process are Technical, Resume Shortlist and Coding Test.
How to prepare for Publicis Sapient Software Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Publicis Sapient. The most common topics and skills that interviewers at Publicis Sapient expect are Devops, ESB, Java, Kafka and Python.
What are the top questions asked in Publicis Sapient Software Developer interview?

Some of the top questions asked at the Publicis Sapient Software Developer interview -

  1. pirates of different ages have a treasure of 100 gold coins. On their ship, th...read more
  2. Three friends rent a room for Rs.30 by paying Rs.10 each. The owner decides to ...read more
  3. You are given a match-box and two candles of equal size, which can burn 1 hour ...read more

Recently Viewed

INTERVIEWS

Publicis Sapient

No Interviews

INTERVIEWS

Publicis Sapient

No Interviews

INTERVIEWS

Publicis Sapient

No Interviews

INTERVIEWS

Cognizant

No Interviews

INTERVIEWS

3i Infotech

No Interviews

COMPANY BENEFITS

Publicis Sapient

No Benefits

INTERVIEWS

PwC

No Interviews

INTERVIEWS

Finastra

No Interviews

INTERVIEWS

Finastra

No Interviews

INTERVIEWS

Xoriant

No Interviews

Tell us how to improve this page.

Publicis Sapient Software Developer Interview Process

based on 8 interviews

4 Interview rounds

  • Technical Round
  • HR Round
  • Aptitude Test Round
  • Personal Interview1 Round
View more
Join Publicis Sapient Let's imagine the future together.
Publicis Sapient Software Developer Salary
based on 341 salaries
₹5.7 L/yr - ₹21.3 L/yr
56% more than the average Software Developer Salary in India
View more details

Publicis Sapient Software Developer Reviews and Ratings

based on 37 reviews

3.7/5

Rating in categories

3.7

Skill development

3.3

Work-life balance

3.3

Salary

3.4

Job security

3.5

Company culture

2.6

Promotions

3.3

Work satisfaction

Explore 37 Reviews and Ratings
Senior Associate
2.2k salaries
unlock blur

₹11 L/yr - ₹40 L/yr

Associate Technology L2
1.5k salaries
unlock blur

₹5 L/yr - ₹20 L/yr

Senior Associate Technology L1
1.2k salaries
unlock blur

₹10.2 L/yr - ₹30 L/yr

Senior Software Engineer
743 salaries
unlock blur

₹9.6 L/yr - ₹37 L/yr

Senior Associate 2
628 salaries
unlock blur

₹14.2 L/yr - ₹41 L/yr

Explore more salaries
Compare Publicis Sapient with

Accenture

3.8
Compare

IBM

4.0
Compare

TCS

3.7
Compare

Infosys

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