0 day streak

Publicis Sapient coding interview questions

Service and IT India

Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.

0%ready
Your level: practise every reported question.
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Trapping Rain WaterTwo Pointer Hard Arrays & Hashing Google, Amazon, Microsoft +88 Solve
Longest Common PrefixString Basics Easy Arrays & Hashing Amazon, Microsoft, Bloomberg +41 Solve
Group AnagramsHashing Medium Arrays & Hashing Amazon, Microsoft, Meta +82 Solve
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +114 Solve
Longest Repeating Character ReplacementSliding Window · Variable Medium Arrays & Hashing Microsoft, Meta, Uber +13 Solve
Container With Most WaterTwo Pointer Medium Arrays & Hashing Google, Amazon, Microsoft +59 Solve
Valid ParenthesesStack Basics Easy Stack Google, Amazon, Microsoft +119 Solve
LRU CacheLinked Lists Medium Design Data Structures Google, Amazon, Microsoft +140 Solve
Longest Palindromic SubstringStrings Medium Dynamic Programming Amazon, Microsoft, Apple +68 Solve
Middle of the Linked ListSlow Fast Pointers Easy Linked List Apple, Nvidia, X (Twitter) +29 Solve
Integer to English WordsSimulation Hard Arrays & Hashing Meta, Snowflake, Palantir +17 Solve
Number of ProvincesConnected Components Medium Graphs Google, Uber, Pinterest +6 Solve
Also reported, being added to AlgoRung (4)

Minimum Sideway Jumps · Sum of Subsequence Widths · Largest Palindromic Number · Longest Repeating Substring

Questions people ask

What coding questions does Publicis Sapient ask most?

Trapping Rain Water, Longest Common Prefix, Group Anagrams, Longest Substring Without Repeating Characters, Longest Repeating Character Replacement, Container With Most Water, Valid Parentheses, LRU Cache.

Which topics come up in Publicis Sapient coding rounds?

strings, sliding window, two pointers, graphs, dynamic programming, linked list.

How hard are Publicis Sapient coding questions?

Of the reported questions, 3 are easy, 7 medium and 2 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.