Publicis Sapient Interview Experience for Fresher Technical Associate,
Feb 2022
Publicis Sapient Interview Experience for Fresher Technical Associate,
Feb 2022
Posted: 22 Nov 2022
0
Selected
Interview Rounds
Application Process
Round 1
Round 2
Round 3
Interview Process
Online Coding Test
Moderate
Duration:
90 minutes
Interview-Date:
6 Feb 2022
Problems:
2
This was an Online coding round with two coding questions and the time given was 90 minutes.
Distance Of Nearest Cell Having 1 In A Binary Matrix
You have been given a binary matrix 'MAT' containing only 0’s and 1’s of size N x M. You need to find the distance of the nearest cell having 1 in the matrix for each cell.
You have been given a Binary Tree where the value of each node is either 0 or 1. Your task is to return the same Binary Tree but all of its subtrees that don't contain a 1 have been removed.