i
Cadence Design
Systems
Filter interviews by
I appeared for an interview in Sep 2024, where I was asked the following questions.
Merge overlapping intervals in a list to create a consolidated list of intervals.
Sort the intervals by their start time. Example: [[1,3],[2,6],[8,10],[15,18]] becomes [[1,3],[2,6],[8,10],[15,18]].
Initialize an empty list to hold merged intervals.
Iterate through the sorted intervals and compare the current interval with the last merged interval.
If they overlap (current start <= last end), merge them by updating the e...
Allocating memory for a vector involves reserving space for its elements to optimize performance and avoid reallocations.
Use `std::vector<Type> vec;` to declare a vector.
To allocate memory, use `vec.reserve(size);` to set capacity without changing size.
Example: `vec.reserve(10);` reserves space for 10 elements.
To initialize with a specific size, use `std::vector<Type> vec(size);`.
Example: `std::vector<in...
A virtual table is a mechanism used in object-oriented programming to support dynamic method resolution for polymorphism.
Virtual tables (vtables) store pointers to virtual functions of a class.
Each class with virtual functions has its own vtable.
When an object is created, it holds a pointer to its class's vtable.
Example: In C++, if class A has a virtual function, derived class B can override it, and the vtable will poi...
I applied via Campus Placement
Top trending discussions
I applied via Referral and was interviewed before Jun 2021. There was 1 interview round.
posted on 11 Apr 2021
I applied via LinkedIn and was interviewed in Mar 2021. There was 1 interview round.
I appeared for an interview before Sep 2020.
Round duration - 45 minutes
Round difficulty - Medium
Its a zoom call interview which lasted for 45 minutes. initially there are two panel members in which one is very targetting at me. They asked me different type of questions like jumping from DSA to project then to python then again java. Its a mixed combo pack type interview. for each and every question they asked me the real time example. The discussion on my project lasted for 15-20 mins.
Given a positive integer N
, compute the total number of '1's in the binary representation of all numbers from 1 to N. Return this count modulo 1e9+7 because the result can...
Count the total number of set bits in the binary representation of numbers from 1 to N modulo 1e9+7.
Use bitwise operations to count the set bits in each number from 1 to N.
Keep track of the total set bits and return the result modulo 1e9+7.
Optimize the solution to handle large values of N efficiently.
Consider using dynamic programming or precomputing values for faster computation.
Round duration - 30 mins
Round difficulty - Easy
This round was a zoom interview. The interview started with my brief introduction. This time the interview was more interested in my hobbies and passions. He asked me what do you do to keep yourself updated with the latest technology trends?
Tip 1 : Do participate in all the coding contests, long challenges held by codechef, codeforces
Tip 2 : Practice all kinds of problems on leetcode, gfg, coding ninjas
Tip 3 : When you are writing a written exam for a particular company, make sure you get to know about the company in detail.
Tip 1 : Make your resume short and sweet(mostly 1 page, max 2 pages) is preferred.
Tip 2 : Make sure your resume is crisp rather than descriptive
Tip 3 : Do not lie on your resume
I applied via Referral and was interviewed before Apr 2021. There were 2 interview rounds.
Binary Search
Design a traffic signal system
Identify the number of lanes and directions
Determine the duration of each signal phase
Consider pedestrian crossings and emergency vehicle prioritization
Implement sensors to detect traffic flow
Use machine learning algorithms to optimize signal timing
I appeared for an interview before Dec 2020.
Round duration - 90 Minutes
Round difficulty - Medium
The timing was from 4:30 pm to 6 pm, so it was quite convenient. The platform was good, the only problem I had was while attempting diagram based questions, as the interface was difficult to understand. The test had three types of questions- MCQ, subjective and diagram based. The major topics from which the question were asked were- sequential circuits(sequence detector), static timing analysis, digital design and computer architecture.
Imagine a city where the happiness of each resident is described by a numerical value. Ninja, who is visiting this city, is interested in forming groups of people su...
The problem is to find the number of ways to form a group of people such that the overall happiness of the group falls within a given range.
Iterate through all possible subsets of the given array/list
Calculate the sum of happiness values for each subset
Count the number of subsets whose sum falls within the given range
Round duration - 60 Minutes
Round difficulty - Medium
The timing for my interview was 9:30 pm and it went on for an hour. They asked me thorough questions from majorly two topics- CMOS and Digital System Design. Even if I was not able to answer certain questions,, they were happy to drop hints and then observed how I went further with the solution.
Implement a wildcard pattern matching algorithm to determine if a given wildcard pattern matches a text string completely.
The wildcard pattern may include the...
The task is to implement a wildcard pattern matching algorithm that checks if a given wildcard pattern matches a given text.
The wildcard pattern can include the characters '?' and '*'
'?' matches any single character
'*' matches any sequence of characters (sequence can be of length 0 or more)
The matching should cover the entire text, not partial text
Implement a function that takes the wildcard pattern and the text as inp...
Tip 1 : MOST IMPORTANT- HAVE YOUR BASICS CLEAR! No amount of cross questioning should confuse you.
Tip 2 : Practise previous year GATE questions
Tip 3 : Have atleast a basic knowledge of any one of the hardware description languages- VERILOG or VHDL
Tip 1 : Be honest. Don't include an achievement/project that is not yours.
Tip 2 : Highlight your projects and do include an ongoing project if you have any.
posted on 11 Oct 2021
Redirection in Java is the process of forwarding a request from one URL to another URL.
Redirection is achieved using the HttpServletResponse.sendRedirect() method.
It is commonly used for handling authentication and authorization.
Redirection can be permanent or temporary, depending on the HTTP status code used.
Examples of HTTP status codes used for redirection are 301, 302, and 307.
I appeared for an interview in Aug 2017.
based on 2 interview experiences
Difficulty level
Duration
based on 4 reviews
Rating in categories
Lead Software Engineer
162
salaries
| ₹25 L/yr - ₹45 L/yr |
Software Engineer2
122
salaries
| ₹17 L/yr - ₹30 L/yr |
Principal Software Engineer
117
salaries
| ₹34 L/yr - ₹60 L/yr |
Design Engineer
93
salaries
| ₹13.5 L/yr - ₹23.9 L/yr |
Software Engineer
70
salaries
| ₹15 L/yr - ₹25.1 L/yr |
Synopsys
Qualcomm
Intel
Molex