i
Publicis
Sapient
Work with us
Filter interviews by
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...
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 ...
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.
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.
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 operat...
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
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'.
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.
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.
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...
I handle pressure by staying organized, prioritizing tasks, and taking breaks when needed.
I prioritize tasks based on deadlines and importance
I break down complex tasks into smaller, manageable steps
I communicate with team members and managers about workload and deadlines
I practice stress-relief techniques such as deep breathing or taking short walks
I appeared for an interview in Feb 2025, where I was asked the following questions.
It's an 1 hour round
I'm a passionate software developer with a strong background in full-stack development and a love for problem-solving.
Graduated with a degree in Computer Science from XYZ University.
Worked at ABC Corp, where I developed a web application that improved user engagement by 30%.
Proficient in languages like JavaScript, Python, and Java, with experience in frameworks like React and Django.
Enjoy collaborating in agile teams a...
I appeared for an interview in Sep 2023.
List is mutable, tuple is immutable in Python.
List can be modified after creation, tuple cannot.
List is defined using square brackets [], tuple using parentheses ().
List is slower than tuple due to mutability.
Example: list_example = [1, 2, 3], tuple_example = (1, 2, 3)
Extended methods are a way to add new functionality to existing classes without modifying their source code.
Extended methods allow developers to add new methods to existing classes without inheritance.
They are commonly used in languages like C# and Kotlin.
Extended methods can improve code readability and maintainability by keeping related functionality together.
I applied via Campus Placement and was interviewed in Oct 2023. There were 2 interview rounds.
It was okay but easy comparatively.
Was easy but they select very few students.
I applied via Company Website and was interviewed in Mar 2023. There were 3 interview rounds.
I applied via Referral and was interviewed before Sep 2023. There were 2 interview rounds.
SOLID principles are a set of five design principles that help make software designs more understandable, flexible, and maintainable.
S - Single Responsibility Principle: A class should have only one reason to change.
O - Open/Closed Principle: Software entities should be open for extension but closed for modification.
L - Liskov Substitution Principle: Objects of a superclass should be replaceable with objects of its sub...
I can join within 2 weeks of receiving an offer.
I can start within 2 weeks of receiving an offer.
My current notice period is 2 weeks.
I am available to start immediately.
Good questions related to coding and performance tuning
What people are saying about Publicis Sapient
Some of the top questions asked at the Publicis Sapient Software Developer interview -
based on 9 interview experiences
Difficulty level
Duration
based on 39 reviews
Rating in categories
Senior Associate
2.3k
salaries
| ₹16.8 L/yr - ₹32 L/yr |
Associate Technology L2
1.6k
salaries
| ₹9.2 L/yr - ₹18 L/yr |
Senior Associate Technology L1
1.4k
salaries
| ₹16.5 L/yr - ₹27.5 L/yr |
Senior Software Engineer
961
salaries
| ₹18 L/yr - ₹32 L/yr |
Senior Associate 2
649
salaries
| ₹23.9 L/yr - ₹42 L/yr |
Genpact
DXC Technology
Optum Global Solutions
Virtusa Consulting Services