i
Publicis Sapient
Filter interviews by
I appeared for an interview before May 2021.
Round duration - 120 minutes
Round difficulty - Medium
It was in the morning. It had basic questions and 2 programming questions(1 string and 1 Data Structure)
Generate a pattern based on the input number of rows N. Each row i should start with the i-th letter of the alphabet, and the number of letters in the row should match ...
Generate a character pattern based on the input number of rows N, where each row starts with the i-th letter of the alphabet and contains i letters.
Create an array to store each row of the pattern
Iterate from 1 to N, for each row i, generate the string starting with the i-th letter of the alphabet and containing i letters
Add each generated string to the array
Return the array of strings as the output
Develop a Stack Data Structure to store integer values using two Queues internally.
Your stack implementation should provide these public functions:
Implement a stack using two queues to store integer values with specified functions.
Use two queues to simulate stack operations efficiently.
Maintain one queue for storing elements and another for temporary storage during push operation.
Ensure to handle edge cases like empty stack and maximum size limit.
Example: Push operation involves transferring elements from one queue to another before adding the new element.
Example...
Round duration - 60 minutes
Round difficulty - Medium
My interviewer asked me about my projects and the concepts involved in making it. Then he asked me to solve a string problem which was not very difficult followed by basic questions on array and it's properties. He also asked HTML tags.
You are given a string STR
which contains alphabets, numbers, and special characters. Your task is to reverse the string.
STR = "abcde"
"e...
Reverse a given string containing alphabets, numbers, and special characters.
Iterate through the string from the end to the beginning and append each character to a new string.
Use built-in functions like reverse() or slicing to reverse the string.
Handle special characters and numbers while reversing the string.
Ensure to consider the constraints on the input string length and number of test cases.
Round duration - 150 minutes
Round difficulty - Easy
This round for Sapient was based on it's core values and how I've implemented these once or more in life. It mostly involved discussion around my leadership, team player, problem solving and innovative skills as a part of the clubs in college. Also, what are my expectations from Sapient and what I bring to them
Tip 1 : Be confident, clear and calm with the answers during interview
Tip 2 : Practice coding questions on based on different difficulty
Tip 3 : Prepare the topics thoroughly the questions might not be tough but they would be based on the core concept
Tip 4 : You should have at least 2 projects - JAVA and database related or Data Analytics
Tip 1 : Projects are mandatory you can steer the interview in that direction
Tip 2 : Resume should only have what you actually know and did
Tip 3 : Add extra-curriculars (for Sapient it really matters if you have incidents related team building, leadership, conflict resolution experiences)
What people are saying about Publicis Sapient
posted on 4 Apr 2021
posted on 10 Oct 2021
I applied via Naukri.com and was interviewed in Apr 2021. There were 3 interview rounds.
I applied via Recruitment Consulltant and was interviewed before Jun 2021. There was 1 interview round.
BigInteger is used for mathematical operations involving very large integers in Java.
BigInteger is used when the range of values supported by primitive data types like int and long is not sufficient.
It is commonly used in cryptography and security applications.
It provides methods for arithmetic, bitwise, and logical operations on large integers.
Example: calculating factorial of a large number, generating large prime nu
Merge Sort Algo code in java
Divide the array into two halves
Recursively sort the two halves
Merge the sorted halves
Time complexity: O(n log n)
I applied via LinkedIn and was interviewed in Nov 2020. There were 4 interview rounds.
Remove duplicate objects from an array of multiple objects.
Create a new array to store unique objects
Loop through the original array and check if the object already exists in the new array
If not, add it to the new array
Return the new array
Maintain state by using a global variable or a state management system.
Use a global variable to store the state and access it whenever needed.
Use a state management system like Redux or MobX to manage the state.
Avoid using local variables or closures to store state as they will be lost when the code is repeated.
Consider using object-oriented programming principles to encapsulate state within objects.
Use functional prog...
Design patterns are reusable solutions to common software problems. Android system uses various design patterns.
MVC (Model-View-Controller) pattern is used in Android to separate UI logic from business logic.
Singleton pattern is used to ensure only one instance of a class is created.
Observer pattern is used to notify changes in data to multiple components.
Builder pattern is used to simplify complex object creation.
Adap...
posted on 5 Feb 2021
I applied via Recruitment Consulltant and was interviewed before Jul 2021. There were 3 interview rounds.
based on 4 reviews
Rating in categories
Senior Associate
2.2k
salaries
| ₹11.1 L/yr - ₹40 L/yr |
Associate Technology L2
1.5k
salaries
| ₹6.5 L/yr - ₹20 L/yr |
Senior Associate Technology L1
1.2k
salaries
| ₹10.3 L/yr - ₹32 L/yr |
Senior Software Engineer
788
salaries
| ₹10 L/yr - ₹38 L/yr |
Senior Associate 2
635
salaries
| ₹14.1 L/yr - ₹42 L/yr |
Genpact
DXC Technology
Virtusa Consulting Services
CGI Group