25 questions · from 3 interviews

Synopsys interview questions

Every question candidates reported from their Synopsys interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.

Synopsys coding and DSA questions

  1. 01

    Sort a Million Numbers in an Array

    Sort a million numbers stored in an array

    From Research and Development Engineer Sr | Synopsys | March 2024

  2. 02

    Sort a Million Numbers in a Linked List

    Sort a million numbers stored in a linked list

    From Research and Development Engineer Sr | Synopsys | March 2024

  3. 03

    Middle of the Linked List

    Middle of a linked list

    From Research and Development Engineer Sr | Synopsys | March 2024

  4. 04

    Remove Duplicates from Sorted Array

    Remove duplicates in a sorted array

    From Research and Development Engineer Sr | Synopsys | March 2024

  5. 05

    Multiply Two Numbers Without Multiplication Operator

    Multiply two numbers without using multiplication operator

    From Research and Development Engineer Sr | Synopsys | March 2024

  6. 06

    Single Element in a Sorted Array

    Single Element in a sorted array

    From Research and Development Engineer Sr | Synopsys | March 2024

  7. 07

    Minimum Number of Days to Make M Bouquets

    Min Days to make m bouqets

    From Research and Development Engineer Sr | Synopsys | March 2024

  8. 08

    Consolidate Distributed Log Files

    A tool (master) runs 'm' unit testcases on 'x' distributed machines (slave). For simplicity, consider each slave has equal number of testcases to run.Every slave writes log message in its own file based on timestamp. For example - 00:01 pass - testcaseid…

    From Research and Development Engineer Sr | Synopsys | March 2024

  9. 09

    Inorder Traversal of a Binary Tree

    Inorder Traversal of a Binary Tree

    From Research and Development Engineer Sr | Synopsys | March 2024

  10. 10

    Twisted Coin Change Variation

    I was asked a medium-level dynamic programming problem, described as a twisted variation of the classic coin change problem. I first explained a brute-force recursive approach and was then asked to optimize it. I proceeded to code the solution in a compiler…

    Medium · From Synopsys R&D Engineer L1 Interview Experience

  11. 11

    Time to Infect Binary Tree (Variation)

    I was given a binary tree problem, which was similar to the LeetCode problem 'Amount of Time to Infect a Binary Tree'. I described my approach, wrote the complete code, and executed a dry run with provided sample test cases.

    From Synopsys R&D Engineer L1 Interview Experience

  12. 12

    Minimum Number of Steps to Make Two Strings Anagram

    Given two strings s and t of the same length, your task is to find the minimum number of steps to make t an anagram of s. A step is to choose any character of t and replace it with another character.

    Medium · From Synopsys Internship interview experience for On-campus hiring

  13. 13

    Reverse Alphanumeric Parts of a String

    Given an input string like '12abc345def67ghi', reverse only the alphabetic substrings while keeping numeric parts and their positions intact. For example, '12abc345fed67ihg'.

    Medium · From Synopsys Internship interview experience for On-campus hiring

Synopsys system design questions

  1. 01

    Optimize Variable Declaration in Nested Functions

    I was presented with a real-life design problem focused on optimizing the declaration of a variable used across several nested function calls. The goal was to place the variable in the most efficient location for both accessibility and performance. I was…

    From Synopsys R&D Engineer L1 Interview Experience

  2. 02

    Infection Spread Modeling with Graph

    I was presented with a design-based problem: a 2010 survey collected data on infected and healthy individuals. The challenge was to track how many people remained healthy and how many became infected over the years, given that infected individuals could…

    From Synopsys R&D Engineer L1 Interview Experience

Synopsys other questions

  1. 01

    Analyze Code Snippets

    Tell what the following code snippets do int myFuncX1() { int a1, a2 = 0, a3 = 1, a4, a5; scanf("%d", &a1); for(a5 = 0; a5 = 1, m++; m = (m+1)1; for (i = 3; i <= (2<<m); i += 2) { if (n % i == 0) return 0; } return 1; } // Sample run // // // int myFuncX4(int…

    From Research and Development Engineer Sr | Synopsys | March 2024

  2. 02

    Virtual Constructor and Destructor

    I was asked several Object-Oriented Programming (OOP) questions, specifically: Can a constructor be virtual? Can a destructor be virtual? I had to explain the reasoning behind my answers for both.

    From Synopsys R&D Engineer L1 Interview Experience

  3. 03

    OOP Pillars, VTable, and Diamond Problem

    I was asked to describe the four pillars of Object-Oriented Programming (OOP)—encapsulation, abstraction, inheritance, and polymorphism—and provide suitable code examples for each. The interviewer then delved into more advanced OOP topics, including the…

    From Synopsys R&D Engineer L1 Interview Experience

  4. 04

    Types of Inheritance in Java

    Explain the different types of inheritance supported in Java.

    From Synopsys Internship interview experience for On-campus hiring

  5. 05

    OOPS Concepts and Polymorphism

    Explain the core OOPS (Object-Oriented Programming System) concepts and describe the various types of polymorphism.

    From Synopsys Internship interview experience for On-campus hiring

  6. 06

    Function Overloading and Overriding Implementation

    Write code demonstrating function overloading and overriding in Java. Explain how these concepts are handled in the language.

    From Synopsys Internship interview experience for On-campus hiring

  7. 07

    super and this keywords in Java

    Explain the purpose and usage of super and this keywords in Java.

    From Synopsys Internship interview experience for On-campus hiring

  8. 08

    Testing in Android Application Project

    What is testing, and how did you apply testing methodologies in your Android application project?

    From Synopsys Internship interview experience for On-campus hiring

  9. 09

    CI/CD and IDEs for Testing

    Explain what CI/CD (Continuous Integration/Continuous Delivery) is and list some IDEs commonly used for testing.

    From Synopsys Internship interview experience for On-campus hiring

  10. 10

    Pipelines in Testing

    What is the concept of pipelines in the context of software testing?

    From Synopsys Internship interview experience for On-campus hiring

Synopsys interview questions FAQ

What questions are asked in Synopsys interviews?

Candidates reported 25 distinct questions across 3 Synopsys interviews. 13 coding and DSA questions, 2 system design questions, 10 other questions.