Filter interviews by
The bottom view of a binary tree shows the nodes visible when the tree is viewed from below.
Bottom view is determined by the horizontal distance from the root.
Nodes are printed from leftmost to rightmost at the lowest level.
Use a queue for level order traversal and a map to store nodes.
Example: For a tree with root 1, left child 2, right child 3, bottom view is [2, 1, 3].
Flip flop can be implemented using a multiplexer by selecting the input based on the control signal.
Use a 2:1 multiplexer to select between the current state and the next state
Connect the output of the multiplexer to the input of the flip flop
Control signal determines which input is passed through the multiplexer
Data entry can be used to input information into a system or database.
Identify the specific system or database where the data needs to be entered.
Ensure that the data being entered is accurate and complete.
Follow any specific guidelines or protocols for data entry.
Regularly review and update the entered data as needed.
Examples: entering customer information into a CRM system, inputting financial data into an accou...
To find the average speed for the whole trip, we need to know the distance and the time taken for the trip.
Average speed = Total distance / Total time
If the distance and time for the trip are known, the average speed can be calculated.
If only the average speed while going is known, we cannot determine the speed of the whole trip without additional information.
Use a sensor to detect the direction of rotation of a circular wheel by monitoring signal changes as it rotates.
Use an incremental encoder that generates pulses as the wheel rotates.
Determine direction by comparing the phase of two output signals (A and B).
If signal A leads signal B, the wheel rotates clockwise; if B leads A, it rotates counterclockwise.
Example: In a rotary encoder, the quadrature output can indic...
The probability of getting heads maximum two times in a series of coin flips.
To calculate the probability, divide the number of favorable outcomes by the total number of possible outcomes.
In this case, the favorable outcomes are 0, 1, or 2 heads, and the total possible outcomes are 2^n, where n is the number of coin flips.
For example, if we flip a coin 3 times, the favorable outcomes are HHT, HTH, THH, HHH, TTH, T...
Check if a binary tree is a binary search tree or not.
Traverse the tree in-order and check if the values are in ascending order.
For each node, check if its value is greater than the maximum value of its left subtree and less than the minimum value of its right subtree.
Use recursion to check if all nodes in the tree satisfy the above condition.
Return a random byte from a stream of bytes with equal probability.
Create a variable to store the count of bytes read
Create a variable to store the current random byte
For each byte read, generate a random number between 0 and the count of bytes read
If the random number is 0, store the current byte as the random byte
Return the random byte
Algorithm to find Nth-to-Last element in a singly linked list of unknown length
Traverse the list and maintain two pointers, one at the beginning and one at Nth node from beginning
Move both pointers simultaneously until the second pointer reaches the end of the list
The first pointer will be pointing to the Nth-to-Last element
If N=0, return the last element
Parse the list only once
Print all possible permutations of an array of integers
Use recursion to swap elements and generate permutations
Start with the first element and swap it with each subsequent element
Repeat the process for the remaining elements
Stop when all elements have been swapped with the first element
Print each permutation as it is generated
I applied via Campus Placement
Verilog coding of flip flops and FSM involves designing sequential circuits using Verilog HDL.
Understand the functionality of different flip flops like D flip flop, JK flip flop, etc.
Implement flip flops using Verilog syntax, specifying input and output ports.
Design Finite State Machines (FSM) using Verilog, defining states, transitions, and outputs.
Use Verilog constructs like always blocks, case statements, and state ...
I want to join Siemens because of its reputation for innovation and commitment to sustainability.
Siemens is a global leader in technology and innovation
I am impressed by Siemens' focus on sustainability and corporate social responsibility
I believe working at Siemens will provide me with opportunities for professional growth and development
I applied via Company Website and was interviewed in Mar 2024. There were 2 interview rounds.
Data structure (Queue and linked list)
I applied via Campus Placement
Basic aptitude , c programming, digital design
Flip flop can be implemented using a multiplexer by selecting the input based on the control signal.
Use a 2:1 multiplexer to select between the current state and the next state
Connect the output of the multiplexer to the input of the flip flop
Control signal determines which input is passed through the multiplexer
I applied via Campus Placement and was interviewed in Aug 2022. There were 2 interview rounds.
I applied via Referral and was interviewed before Jun 2023. There was 1 interview round.
The bottom view of a binary tree shows the nodes visible when the tree is viewed from below.
Bottom view is determined by the horizontal distance from the root.
Nodes are printed from leftmost to rightmost at the lowest level.
Use a queue for level order traversal and a map to store nodes.
Example: For a tree with root 1, left child 2, right child 3, bottom view is [2, 1, 3].
I applied via Campus Placement and was interviewed in Oct 2022. There were 3 interview rounds.
General dynamics corporation share price
Data entry can be used to input information into a system or database.
Identify the specific system or database where the data needs to be entered.
Ensure that the data being entered is accurate and complete.
Follow any specific guidelines or protocols for data entry.
Regularly review and update the entered data as needed.
Examples: entering customer information into a CRM system, inputting financial data into an accounting...
I applied via Approached by Company and was interviewed in Feb 2022. There were 2 interview rounds.
Top trending discussions
Some of the top questions asked at the Mentor Graphics interview -
based on 6 interview experiences
Difficulty level
Duration
based on 55 reviews
Rating in categories
Senior Member of Technical Staff
69
salaries
| ₹14.6 L/yr - ₹22.1 L/yr |
Lead Member Technical Staff
41
salaries
| ₹20.4 L/yr - ₹32 L/yr |
Member Consulting Staff
31
salaries
| ₹34.3 L/yr - ₹56 L/yr |
Member Technical Staff
29
salaries
| ₹13.5 L/yr - ₹22.2 L/yr |
Software Engineer
15
salaries
| ₹12 L/yr - ₹22 L/yr |
Duck Creek Technologies
Mobileum
OnProcess Technology
Yodlee