Publicis Sapient | Senior Associate Platform L1

publicis sapient logo
publicis sapient
Senior Associate Platform L1
August 31, 20240 reads

Summary

I went through an interview process for a Senior Associate Platform L1 role at Publicis Sapient, which included a Hackerrank test followed by a technical round covering various Java, multithreading, OOP, and system design topics.

Full Experience

I interviewed for the Senior Associate Platform L1 position at Publicis Sapient. The process began with a Hackerrank test, which I found to be quite easy, although I don't recall the exact problems.

The second round was a comprehensive technical discussion covering a wide array of topics. I was asked several coding problems, including finding the nearest number in a sorted array and designing a multithreaded program to print numbers in a specific sequence. Additionally, there were numerous conceptual questions on Java serialization, creating immutable classes, Functional Interfaces, CompletableFuture vs. Future, different ways to create thread pools with ExecutorService, CachedThreadPool vs. FixedThreadPool, Stream API, fail-fast vs. fail-safe mechanisms, Kubernetes Helm charts, Factory design pattern, AWS services, and API Gateway.

Interview Questions (14)

Q1
Find Nearest Number in Sorted Array
Data Structures & Algorithms

Given a sorted array, find the number closest to a target value.

Q2
Multithreaded Printing with Specific Sequence
Data Structures & Algorithms

Design a program where three threads (t1, t2, t3) print numbers in a specific interleaved sequence: t1 -> 1, t2 -> 2, t3 -> 3, t1 -> 4, t2 -> 5, and so on.

Q3
Java Serialization Concepts
Other

Discuss concepts and aspects related to Java serialization.

Q4
Make Class Immutable
Other

Given the following Java class, explain and demonstrate how to convert it into an immutable class:

class Employee {
    private String name;
    private Integer age;
    private Address address;
}
Q5
Functional Interfaces Concepts
Other

Discuss concepts and usage of Functional Interfaces in Java.

Q6
CompletableFuture vs. Future
Other

Explain the differences between Java's CompletableFuture and Future interfaces.

Q7
ExecutorService Thread Pool Creation
Other

Describe the different ways to create a thread pool using ExecutorService in Java.

Q8
CachedThreadPool vs. FixedThreadPool
Other

Explain the differences between CachedThreadPool and FixedThreadPool in Java's ExecutorService.

Q9
Java Stream API Concepts
Other

Discuss concepts and usage of Java Stream API.

Q10
Fail-Fast vs. Fail-Safe Iterators
Other

Explain the concepts of fail-fast and fail-safe iterators in Java collections.

Q11
Kubernetes Helm Charts Concepts
System Design

Discuss concepts and usage of Kubernetes Helm charts.

Q12
Implement Factory Design Pattern
Other

Demonstrate or explain the implementation of the Factory design pattern.

Q13
AWS Services Concepts
System Design

Discuss various AWS services and their use cases.

Q14
API Gateway Concepts
System Design

Discuss concepts and functionalities of an API Gateway.

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!