i
Publicis Sapient
Filter interviews by
I applied via Campus Placement and was interviewed in Oct 2022. There were 4 interview rounds.
There were 2 questions to be solved in 2 hours. Ques were hard level DP.
What people are saying about Publicis Sapient
posted on 10 Dec 2024
I was interviewed in Nov 2024.
OOP is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
OOP focuses on creating objects that interact with each other to solve problems.
Key concepts include encapsulation, inheritance, and polymorphism.
Encapsulation involves bundling data and methods that operate on the data into a single unit.
Inheritance allows classes to inherit at...
Multithreading is the ability of a CPU to execute multiple threads concurrently, allowing for improved performance and responsiveness.
Multithreading allows multiple tasks to be executed simultaneously on a single CPU core.
Each thread has its own program counter, stack, and set of registers.
Example: A web browser using multithreading to load a webpage while simultaneously downloading images in the background.
Rotate a 2D matrix by 180 degrees in place without using extra space.
Iterate through the matrix and swap elements symmetrically across the center row.
Use two pointers, one starting from the first row and the other from the last row, to swap elements.
Repeat the swapping process for each row until the entire matrix is rotated.
Example: Input matrix = [[1,2,3],[4,5,6],[7,8,9]], Output matrix = [[9,8,7],[6,5,4],[3,2,1]]
I applied via Campus Placement and was interviewed in Dec 2023. There were 2 interview rounds.
Coding test held on Hipro platform which had 3 coding questions including mcqs
posted on 25 Jul 2024
Reverse a linked list by changing the pointers direction
Start with three pointers: current, previous, and next
Iterate through the linked list, updating the pointers to reverse the direction
Return the new head of the reversed linked list
posted on 3 Jan 2025
I applied via Referral and was interviewed in Dec 2024. There were 2 interview rounds.
Deep copy creates a new copy of an object with its own unique memory space, while shallow copy creates a new object that references the same memory locations as the original object.
Deep copy duplicates all nested objects, while shallow copy only duplicates the references to nested objects.
Deep copy ensures that changes to the copied object do not affect the original object, while shallow copy may lead to unintended sid...
Use a loop to swap characters of two strings without using strcpy function.
Create two arrays of characters to store the strings
Use a loop to iterate through each character of the strings and swap them
Ensure to handle cases where strings have different lengths
I applied via Company Website and was interviewed in Nov 2024. There were 3 interview rounds.
A standard online test conducted through one of the testing platforms.
Dependency Injection is a design pattern in which components are given their dependencies rather than creating them internally.
Allows for easier testing by providing mock dependencies
Promotes loose coupling between components
Improves code reusability and maintainability
Examples: Constructor injection, Setter injection, Interface injection
In Java, exceptions can be handled using try-catch blocks to catch and handle specific exceptions.
Use try-catch blocks to catch exceptions and handle them gracefully
Use multiple catch blocks to handle different types of exceptions
Use finally block to execute code regardless of whether an exception is thrown or not
Throw custom exceptions using throw keyword
map transforms each element in a stream, while flatMap transforms each element into multiple elements
map applies a function to each element in a stream and returns a new stream of the results
flatMap applies a function that returns a stream for each element in the original stream, then flattens the streams into a single stream
Example: map - stream.map(x -> x * x), flatMap - stream.flatMap(str -> Arrays.stream(str.split(
ConcurrentModificationException occurs when a collection is modified while iterating over it.
Use Iterator to iterate over the collection instead of foreach loop.
If modification is necessary, use Iterator's remove() method instead of collection's remove() method.
Consider using synchronized collections or ConcurrentHashMap to avoid ConcurrentModificationException.
SQL , CODING QUESTION PYTHON
I am a software developer with 5 years of experience in Java, Python, and SQL.
5 years of experience in Java, Python, and SQL
Strong problem-solving skills
Experience working in Agile development environment
Familiarity with version control systems like Git
Passionate about learning new technologies
Company is a leading software development firm specializing in creating innovative solutions for various industries.
Company has a strong reputation for delivering high-quality software products
Specializes in creating custom solutions for clients in different industries
Known for innovative and cutting-edge technology solutions
Has a diverse portfolio of successful projects
Company values teamwork and collaboration in thei
posted on 4 Dec 2024
It was an online assessment containing 3 DSA questions
Senior Associate
2.3k
salaries
| ₹10.5 L/yr - ₹37.8 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
719
salaries
| ₹9.2 L/yr - ₹36 L/yr |
Senior Associate 2
602
salaries
| ₹14.1 L/yr - ₹41 L/yr |
Accenture
IBM
TCS
Infosys