i
Publicis Sapient
Filter interviews by
posted on 13 Jan 2023
3 coding questions with 1 hard tree algorithm and 2 normal dsa question
Merge sort is a divide and conquer algorithm that sorts an array by dividing it into two halves, sorting them separately, and then merging the sorted halves.
Divide the array into two halves
Sort each half recursively
Merge the two sorted halves
Time complexity is O(nlogn)
Space complexity is O(n)
posted on 29 May 2024
I applied via campus placement at Netaji Subhas Institute of Technology (NSIT) and was interviewed before May 2023. There were 3 interview rounds.
Coding test - 1.5 hours
3-5 MCQs
2 coding questions on HackerRank platform
1Q - easy, related to Arrays
2Q - medium, related to graphs/trees
Explanation of OS, threading, paging, database transactions (ACID properties), and computer networks.
OS (Operating System) is a software that manages computer hardware resources and provides services for computer programs.
Threading involves the ability of a program to execute multiple parts concurrently.
Paging is a memory management scheme that eliminates the need for contiguous allocation of physical memory.
Database t...
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.
Java is a programming language used for developing applications. Static methods in Java are methods that belong to the class rather than an instance of the class.
Java is a popular programming language used for developing various types of applications.
Static methods in Java are methods that can be called without creating an instance of the class.
Static methods are commonly used for utility functions or methods that do n
Program to print prime numbers
Iterate through numbers and check if each number is prime
Use a nested loop to check divisibility by numbers less than the current number
Print the number if it is prime
posted on 10 Jul 2024
90 min test containing verbal, Quantitative aptitude and question based on diagrams
I prefer programming languages like Python and Java for their versatility and widespread use in the industry.
I prefer Python for its simplicity, readability, and vast libraries for various tasks.
I also like Java for its strong typing, object-oriented approach, and cross-platform compatibility.
I am open to learning new languages as needed for specific projects or tasks.
posted on 17 Dec 2024
posted on 10 Dec 2022
I applied via campus placement at Jaipur Engineering College & Research Centre, Jaipur and was interviewed in Dec 2022. There were 3 interview rounds.
OOPS AND DSA QUESTION
I applied via Company Website and was interviewed in Aug 2021. There were 4 interview rounds.
posted on 5 Sep 2021
I applied via Walk-in and was interviewed in Aug 2021. There was 1 interview round.
Some of the top questions asked at the Publicis Sapient Associate Software Development Engineer interview -
based on 2 interviews
Interview experience
based on 15 reviews
Rating in categories
Senior Associate
2.2k
salaries
| ₹11 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 L/yr - ₹30 L/yr |
Senior Software Engineer
739
salaries
| ₹9.5 L/yr - ₹37 L/yr |
Senior Associate 2
622
salaries
| ₹14.1 L/yr - ₹41 L/yr |
Accenture
IBM
TCS
Infosys