TO THE NEW
Publicis Interview Questions and Answers
Q1. Easy question: Write a program to separate odd and even numbers from an array.
Program to separate odd and even numbers from an array.
Loop through array and check if each number is odd or even
Create two separate arrays for odd and even numbers
Return both arrays
Q2. check for balanced parenthesis.
Check for balanced parenthesis in a string.
Use a stack to keep track of opening parenthesis
If a closing parenthesis is encountered, pop from stack and check if it matches
If stack is empty at the end, the string has balanced parenthesis
Q3. Implement Bubble sort algorithm
Bubble sort algorithm sorts an array by repeatedly swapping adjacent elements if they are in wrong order.
Compare adjacent elements and swap them if they are in wrong order
Repeat this process until the array is sorted
Time complexity is O(n^2)
Space complexity is O(1)
Example: ['apple', 'banana', 'orange', 'grape'] -> ['apple', 'banana', 'grape', 'orange']
Pre-requisites: Anagrams are defined as words or names that can be formed by rearranging letters of another word. Such as "spar" can be formed by rearranging letters of "rasp". Hence, "spar" and "r...read more
Write a program to count and print the total number of characters (lowercase english alphabets only), digits (0 to 9) and white spaces (single space, tab i.e. '\t' and newline i.e. '\n') entered...read more
Based on profit/loss, Simple interest, Age problems etc.
JavaScript question are like output based question and sytax related question.
MCQ Qurstion based on time complexity and sorting algorithms.
HT...read more
Q7. Product development cycle
Product development cycle involves stages from idea generation to product launch and post-launch evaluation.
Idea generation
Market research
Product design
Prototype development
Testing and feedback
Manufacturing
Marketing and sales
Post-launch evaluation
Top HR Questions asked in Publicis
Interview Process at Publicis
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month