0 day streak

Synopsys coding interview questions

ProductEnterprise SaaS India Machine coding / LLD

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
Middle of the Linked ListSlow Fast Pointers Easy Linked List Apple, Nvidia, X (Twitter) +29 Solve
Remove Duplicates from Sorted ArrayTwo Pointer Easy Arrays & Hashing Microsoft, Bloomberg, Cisco +18 Solve
Single Element in a Sorted ArrayUnique 1-D Binary Search Medium Binary Search Snowflake, Coupang, Moloco +14 Solve
Minimum Number of Days to Make m BouquetsBinary Search on Answer Space Medium Binary Search Barclays, Flipkart, Walmart Global Tech +2 Solve
Amount of Time for Binary Tree to Be InfectedChild + Ancestor Handling Medium Trees & BST Amazon, Microsoft, DoorDash +11 Solve
Minimum Number of Steps to Make Two Strings AnagramHashing Medium Arrays & Hashing Bloomberg, DoorDash, X (Twitter) +7 Solve
Binary Tree Inorder Traversal (Iterative)Recursion Easy Trees & BST Anduril, Intel, HPE +7 Solve
Linked List CycleSlow Fast Pointers Easy Linked List Microsoft, Apple, Nvidia +67 Solve
Construct Binary Tree from Preorder and Inorder TraversalTree Serialization / Deserialization Medium Trees & BST Microsoft, TikTok (ByteDance), eBay +9 Solve
Implement Queue using StacksStack Basics Easy Stack Microsoft, Meta, Apple +28 Solve
Next Greater Element IMonotonic Stack Easy Monotonic Stack Agoda, Akamai, Zynga +22 Solve
Directed Graph CycleCycle Detection Medium Graphs Oracle, Cadence Design Systems, Siemens EDA +3 Solve
String to Integer (atoi)Simulation Medium Arrays & Hashing Amazon, Apple, Netflix +17 Solve
Min Cost to Connect All PointsMinimum Spanning Tree Medium Graphs Nutanix, Media.net Solve
Generate ParenthesesPick / Not-Pick Medium Recursion & Backtracking Google, Amazon, Microsoft +28 Solve
Median of Two Sorted ArraysBinary Search on Partition Hard Binary Search Google, Amazon, Microsoft +49 Solve
Convert Sorted Array to Binary Search TreeBST Basics Easy Trees & BST Apple, Airbnb, Paytm Solve
Convert Sorted List to Binary Search TreeTree to Lists and vice-versa Medium Trees & BST Apple, Lyft, X (Twitter) +2 Solve
Number of 1 BitsTricks to remember Easy Bit Manipulation Amazon, Apple, Box +9 Solve
Add Two NumbersDummy Node Pattern Medium Linked List Amazon, Microsoft, Meta +33 Solve
Reverse Linked ListFront Middle Back Pointer Easy Linked List Microsoft, Apple, Bloomberg +81 Solve
Is Graph Bipartite?Cycle Detection Medium Graphs Google, Meta, Apple +2 Solve
Validate Binary Search TreePostorder + Multiple Return Values Medium Trees & BST Google, Microsoft, Meta +35 Solve
Palindrome Linked ListFront Middle Back Pointer Easy Linked List Meta, Spotify, Grab +14 Solve
Left View of Binary TreeViews Easy Trees & BST Stripe, Electronic Arts, Zynga +10 Solve
Reverse Words in a StringDouble Reversal Trick Medium Arrays & Hashing Microsoft, Nvidia, Snap +38 Solve
Binary SearchBasics Easy Binary Search Zscaler, Rakuten, Nike +22 Solve
Sort an ArrayMerge Sort Like Approach Medium Arrays & Hashing Apple, Confluent, Salesforce +27 Solve
Count PrimesMath / Number Theory Medium Arrays & Hashing Databricks, Epic Systems, American Express +19 Solve

Questions people ask

What coding questions does Synopsys ask most?

Two Sum, Middle of the Linked List, Remove Duplicates from Sorted Array, Single Element in a Sorted Array, Minimum Number of Days to Make m Bouquets, Amount of Time for Binary Tree to Be Infected, Minimum Number of Steps to Make Two Strings Anagram, Binary Tree Inorder Traversal (Iterative).

Which topics come up in Synopsys coding rounds?

trees, linked list, graphs, binary search, stack, bit manipulation.

How hard are Synopsys coding questions?

Of the reported questions, 13 are easy, 16 medium and 1 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.