i
Publicis
Sapient
Work with us
Filter interviews by
Lambda expressions in Java 8 for Sorting and PartitionBy
Use Comparator interface with lambda expression for sorting
Use Collectors.partitioningBy() method with lambda expression for PartitionBy
JavaScript rounding methods help manipulate numbers for precision in calculations and display.
Math.round(): Rounds a number to the nearest integer. Example: Math.round(4.5) returns 5.
Math.ceil(): Rounds a number up to the nearest integer. Example: Math.ceil(4.1) returns 5.
Math.floor(): Rounds a number down to the nearest integer. Example: Math.floor(4.9) returns 4.
toFixed(): Formats a number using fixed-point nota...
Algorithm to find missing number in a sequence
Use mathematical formula for arithmetic or geometric sequence
For random sequence, use sorting and iteration
Consider edge cases like empty sequence or multiple missing numbers
Sorting a list of strings based on their occurrence count.
Create a dictionary to store the count of each string.
Use the dictionary to sort the list based on the count of occurrences.
If two strings have the same count, sort them alphabetically.
Return the sorted list.
Bundling in MVC is needed to improve performance by reducing the number of HTTP requests.
Bundling combines multiple files into a single file to reduce the number of HTTP requests.
This improves performance by reducing the time it takes to load a page.
Bundling also allows for minification, which reduces the size of the files being sent to the client.
Examples of files that can be bundled include CSS, JavaScript, and ...
SQL indexes are stored in the database's file system.
Indexes are stored in the same filegroup as the table or in a separate filegroup.
They can be stored in the same physical file as the table or in a separate file.
Indexes can also be stored in memory, such as in the buffer pool.
The location of the index storage can affect performance.
Examples of index storage options include clustered, nonclustered, and full-text ...
Memory management in .NET
Garbage Collector manages memory by freeing up unused objects
Memory is allocated on the heap and managed by the CLR
Finalizers are used to release unmanaged resources
Memory leaks can occur if objects are not properly disposed
Value types are stored on the stack and are automatically managed
A dictionary stores data in key-value pairs.
Each key is unique and maps to a specific value.
Keys are used to retrieve values from the dictionary.
Data can be added, removed, or updated in the dictionary.
Examples include Python's dict and Java's HashMap.
Garbage collector identifies objects to pick based on their reachability.
Garbage collector starts from a set of root objects and identifies all objects that are reachable from them.
Objects that are not reachable are considered garbage and are eligible for collection.
Reachability is determined by following object references from root objects.
Objects that are referenced by other reachable objects are also considered...
Memory management is the process of managing computer memory to allocate and deallocate memory resources.
Memory management involves allocating memory to processes that need it and deallocating memory that is no longer needed.
It also involves managing memory fragmentation and ensuring efficient use of memory.
Examples of memory management techniques include paging, segmentation, and virtual memory.
Memory leaks can o...
I applied via Recruitment Consulltant and was interviewed in Jan 2023. There were 4 interview rounds.
I applied via Approached by Company and was interviewed in Aug 2022. There were 3 interview rounds.
They gave 40 mcqs from core java, design patterns, solid principles, Springboot, Spring, Rest, Junit
Solid principles are a set of design principles for writing maintainable and scalable code.
Solid principles apply to object-oriented programming.
They help in writing code that is easy to maintain, extend and test.
Examples of solid principles are Single Responsibility Principle, Open-Closed Principle, Liskov Substitution Principle, Interface Segregation Principle, and Dependency Inversion Principle.
JavaScript rounding methods help manipulate numbers for precision in calculations and display.
Math.round(): Rounds a number to the nearest integer. Example: Math.round(4.5) returns 5.
Math.ceil(): Rounds a number up to the nearest integer. Example: Math.ceil(4.1) returns 5.
Math.floor(): Rounds a number down to the nearest integer. Example: Math.floor(4.9) returns 4.
toFixed(): Formats a number using fixed-point notation....
Software development lifecycles are a set of processes used to design, develop, and maintain software.
There are several software development lifecycles, including Waterfall, Agile, and DevOps.
Each lifecycle has its own set of phases, such as planning, design, development, testing, and deployment.
The choice of lifecycle depends on the project requirements, team size, and other factors.
Agile methodologies are becoming in...
Hacker rank test and coding assessment
I applied via Approached by Company and was interviewed in Jul 2022. There were 3 interview rounds.
Java8 MCQ, Springboot MCQ, MCQ on coding question and database
I applied via Approached by Company and was interviewed in Aug 2022. There were 4 interview rounds.
It was a MCQ test consist of 40 questions.
Full Project regarding product catalogue
I applied via Approached by Company and was interviewed in Nov 2021. There were 2 interview rounds.
I applied via Naukri.com and was interviewed before Oct 2022. There were 4 interview rounds.
1 Hour MCQ based online coding test on java and design patterns.
Lambda expressions in Java 8 for Sorting and PartitionBy
Use Comparator interface with lambda expression for sorting
Use Collectors.partitioningBy() method with lambda expression for PartitionBy
Design patterns are reusable solutions to common problems in software design. Some types include Singleton, Factory, Observer, and Strategy patterns.
Singleton pattern ensures a class has only one instance and provides a global point of access to it.
Factory pattern creates objects without specifying the exact class of object that will be created.
Observer pattern defines a one-to-many dependency between objects so that w...
Securing a REST API involves implementing authentication, authorization, encryption, and rate limiting.
Implement authentication using tokens or API keys
Use HTTPS to encrypt data transmitted over the network
Implement authorization to control access to resources
Implement rate limiting to prevent abuse or DoS attacks
MCQ's based on Technologies. For me, it was Java, Spring,Rest.
I applied via Naukri.com and was interviewed in Dec 2021. There were 3 interview rounds.
Top trending discussions
Some of the top questions asked at the Publicis Sapient Senior Associate Technology L1 interview -
based on 6 interview experiences
Difficulty level
Duration
based on 156 reviews
Rating in categories
Senior Associate
2.2k
salaries
| ₹11.2 L/yr - ₹41.8 L/yr |
Associate Technology L2
1.6k
salaries
| ₹6.7 L/yr - ₹21.5 L/yr |
Senior Associate Technology L1
1.3k
salaries
| ₹10.5 L/yr - ₹30 L/yr |
Senior Software Engineer
866
salaries
| ₹10.4 L/yr - ₹37 L/yr |
Senior Associate 2
658
salaries
| ₹15 L/yr - ₹42 L/yr |
Genpact
DXC Technology
Optum Global Solutions
Virtusa Consulting Services