i
Cadence Design
Systems
Filter interviews by
Reverse a linked list recursively
Create a recursive function to reverse the linked list
Pass the current node and its next node as parameters
Update the next pointer of the current node to point to the previous node
Check if two stacks are equal by comparing each element in the stacks
Pop elements from both stacks and compare them one by one
If the sizes of the stacks are different, they are not equal
If any element in the stacks is different, they are not equal
Check if a substring in an array of strings is a palindrome or not.
Iterate through each string in the array
For each string, check if any of its substrings are palindromes
Return true if a palindrome substring is found, false otherwise
Check if a binary tree is a Binary Search Tree (BST)
Perform an in-order traversal of the tree and check if the resulting array is sorted
Keep track of the previous node value during traversal to compare with the current node value
Ensure that each node's value is greater than the previous node's value in the in-order traversal
To add two linked lists, iterate through both lists simultaneously and add corresponding nodes, considering carry from previous addition.
Create a dummy node to hold the result.
Initialize current node to dummy node.
Iterate through both lists, adding values and carry from previous addition.
Move to next nodes in both lists.
Handle cases where one list is longer than the other.
Handle final carry if present.
Use Dijkstra's algorithm to find the shortest path in a graph
Implement Dijkstra's algorithm to find the shortest path between two nodes in a graph
Maintain a priority queue to keep track of the shortest distance to each node
Update the shortest distance to each node as you traverse the graph
Track the path by storing the previous node for each node visited
I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
Reverse a linked list recursively
Create a recursive function to reverse the linked list
Pass the current node and its next node as parameters
Update the next pointer of the current node to point to the previous node
Check if two stacks are equal by comparing each element in the stacks
Pop elements from both stacks and compare them one by one
If the sizes of the stacks are different, they are not equal
If any element in the stacks is different, they are not equal
Top trending discussions
posted on 26 Nov 2020
I applied via Naukri.com and was interviewed in May 2020. There were 7 interview rounds.
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.
posted on 24 Jun 2024
Major questions were around problem solving, strings
I applied via Recruitment Consulltant and was interviewed in Sep 2023. There were 2 interview rounds.
1 easy, 1 medium and 1 hard LC
To access files in a different server, use protocols like FTP or SSH. To identify similar key value pairs in multiple files, compare values using a script or tool.
Use FTP or SSH protocols to access files in a different server
Write a script or use a tool to compare key value pairs in multiple files
Identify values that are the same and different across files
Example: Use Python script to read files and compare key value p...
I appeared for an interview in May 2025, where I was asked the following questions.
posted on 21 Feb 2025
posted on 21 Dec 2021
I applied via LinkedIn and was interviewed in Nov 2021. There were 3 interview rounds.
based on 2 interview experiences
Difficulty level
Duration
based on 1 review
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
94
salaries
| ₹17 L/yr - ₹23.9 L/yr |
Software Engineer
70
salaries
| ₹15 L/yr - ₹25.1 L/yr |
Synopsys
Qualcomm
Intel
Molex