0 day streak

Persistent Systems 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
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +135 Solve
Valid ParenthesesStack Basics Easy Stack Google, Amazon, Microsoft +119 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 Common PrefixString Basics Easy Arrays & Hashing Amazon, Microsoft, Bloomberg +41 Solve
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Amazon, Microsoft, Apple +79 Solve
Longest Palindromic SubstringStrings Medium Dynamic Programming Amazon, Microsoft, Apple +68 Solve
Merge Sorted ArrayTwo Pointer Easy Arrays & Hashing Meta, Apple, Nvidia +40 Solve
Reverse StringTwo Pointer Easy Arrays & Hashing Nvidia, Snowflake, Electronic Arts +37 Solve
Reverse Linked ListFront Middle Back Pointer Easy Linked List Microsoft, Apple, Bloomberg +81 Solve
Majority ElementMoore's Voting Algorithm Easy Arrays & Hashing Bloomberg, Instacart, Autodesk +18 Solve
Missing NumberMissing / Repeated Numbers Easy Bit Manipulation Microsoft, Nvidia, Palantir +29 Solve
Number of IslandsConnected Components Medium Graphs Google, Amazon, Microsoft +114 Solve
Pascal's Triangle1D DP Easy Dynamic Programming Bloomberg, X (Twitter), Epic Games +7 Solve
Best Time to Buy and Sell StockState Machine DP - Stock Problems Easy Dynamic Programming Amazon, Microsoft, Apple +101 Solve
LRU CacheLinked Lists Medium Design Data Structures Google, Amazon, Microsoft +140 Solve
Count PrimesMath / Number Theory Medium Arrays & Hashing Databricks, Epic Systems, American Express +19 Solve
Middle of the Linked ListSlow Fast Pointers Easy Linked List Apple, Nvidia, X (Twitter) +29 Solve
Hamming DistanceXOR Basics Easy Bit Manipulation Solve
Move ZeroesTwo Pointer Easy Arrays & Hashing Amazon, Microsoft, Meta +42 Solve
Linked List CycleSlow Fast Pointers Easy Linked List Microsoft, Apple, Nvidia +67 Solve
Implement Stack using QueuesStack Basics Easy Stack Twilio, Goldman Sachs, Qualcomm +14 Solve
Binary Tree Level Order TraversalTraversals Medium Trees & BST Microsoft, Apple, Netflix +24 Solve
Trim a Binary Search TreeBST Basics Medium Trees & BST Yahoo, UBS, OYO +1 Solve
Remove All Occurrences of a SubstringStack Basics Medium Stack X (Twitter), Arista Networks, Klarna +3 Solve
Design Linked ListLinked Lists Medium Design Data Structures Electronic Arts, Cisco, Deutsche Bank +11 Solve
Rotate StringString Basics Easy Arrays & Hashing Zoom, Rivian, ServiceNow +6 Solve
Fibonacci Number1D DP Easy Dynamic Programming Spotify, Instacart, Zillow +38 Solve
PermutationsPermutations Medium Recursion & Backtracking Google, Apple, LinkedIn +23 Solve
Binary Tree Inorder Traversal (Iterative)Recursion Easy Trees & BST Anduril, Intel, HPE +7 Solve
Binary Tree Preorder Traversal (Iterative)Recursion Easy Trees & BST Huawei, BigBasket Solve
Also reported, being added to AlgoRung (2)

Minimum Bit Flips to Convert Number · Number of Connected Components in an Undirected Graph

Questions people ask

What coding questions does Persistent Systems ask most?

Two Sum, Valid Parentheses, Group Anagrams, Longest Substring Without Repeating Characters, Longest Common Prefix, Kadane's Algorithm - Simple, Longest Palindromic Substring, Merge Sorted Array.

Which topics come up in Persistent Systems coding rounds?

arrays, strings, linked list, hashing, graphs, math.

How hard are Persistent Systems coding questions?

Of the reported questions, 19 are easy, 12 medium and 0 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.