i
Ansys Software Private Limited
Filter interviews by
I applied via Campus Placement and was interviewed before Oct 2022. There were 2 interview rounds.
Coding on oops multiple choice questions
To find leaf node of binary tree, traverse the tree and check if node has no children.
Traverse the binary tree using depth-first search or breadth-first search
Check if a node has no left or right child, then it is a leaf node
Repeat the process for all nodes until all leaf nodes are found
To get left view, right view, and top view of a binary tree, perform level order traversal and keep track of the first node encountered at each level.
Perform level order traversal of the binary tree
Keep track of the first node encountered at each level for left view
Keep track of the last node encountered at each level for right view
For top view, use a map to store horizontal distance and node pairs
Top trending discussions
I applied via Referral and was interviewed before Nov 2022. There were 6 interview rounds.
3 coding questions haker rank test
I applied via Approached by Company
I appeared for an interview in Jan 2022.
Round duration - 90 minutes
Round difficulty - Medium
Determine if a given singly linked list of integers forms a cycle or not.
A cycle in a linked list occurs when a node's next
points back to a previous node in the ...
The task is to determine if a given singly linked list forms a cycle or not.
A cycle occurs when a node's next points back to a previous node in the list.
To solve this problem, we can use the Floyd's Cycle-Finding Algorithm.
The algorithm uses two pointers, one moving at a normal pace and the other moving twice as fast.
If there is a cycle, the fast pointer will eventually catch up to the slow pointer.
If the fast pointer ...
Round duration - 60 minutes
Round difficulty - Medium
Determine the minimum depth of an integer-based binary tree. The minimum depth is defined as the number of nodes present along the shortest path from the root node down to t...
The minimum depth of a binary tree is the number of nodes along the shortest path from the root node down to the nearest leaf node.
The minimum depth can be found by performing a breadth-first search (BFS) traversal of the binary tree
During the BFS traversal, keep track of the current level and increment the depth by 1 for each level
Stop the BFS traversal when a leaf node is encountered and return the depth as the minim
Given two arrays A
and B
with sizes N
and M
respectively, both sorted in non-decreasing order, determine their intersection.
The intersection of two arrays in...
The problem is to find the intersection of two sorted arrays.
Use two pointers to iterate through the arrays.
Compare the elements at the current pointers and move the pointers accordingly.
If the elements are equal, add it to the intersection array and move both pointers.
If the element in the first array is smaller, move the first pointer.
If the element in the second array is smaller, move the second pointer.
Repeat until...
A mutex is a binary semaphore used for mutual exclusion, while a semaphore is a generalized synchronization primitive.
Mutex is used to protect a critical section of code, allowing only one thread to access it at a time.
Semaphore is used to control access to a shared resource, allowing multiple threads to access it simultaneously.
Mutex has ownership, meaning the thread that locks it must unlock it.
Semaphore does not hav...
Round duration - 60 minutes
Round difficulty - Easy
Round duration - 25 minutes
Round difficulty - Easy
Tip 1 : Practice a lot of DSA questions on various online platforms.
Tip 2 : Regularly go back to some of the typical DSA questions.
Tip 3 : Give equal importance to OS, OOPS, and CN subjects.
Tip 1 : Be thorough with your resume to answer anything and everything from your resume.
Tip 2 : Do not put false information on your resume.
I applied via Naukri.com and was interviewed in Mar 2023. There were 3 interview rounds.
String related functions,virtual functions and STL concepts
I applied via Google and was interviewed in Mar 2021. There was 1 interview round.
posted on 31 Dec 2020
I applied via Naukri.com and was interviewed in Jul 2020. There were 3 interview rounds.
posted on 10 Jan 2025
I applied via Company Website and was interviewed before Jan 2024. There were 3 interview rounds.
Good questions and dsa arrays and string questions
I applied via Referral and was interviewed in Mar 2024. There was 1 interview round.
To connect to the backend, you can use APIs, database connections, or web services.
Use APIs to send and receive data between the frontend and backend
Establish database connections to retrieve and store data
Utilize web services for communication between different systems
based on 1 interview
Interview experience
R&D Engineer
53
salaries
| ₹14 L/yr - ₹25 L/yr |
Applications Engineer
36
salaries
| ₹8.1 L/yr - ₹30.5 L/yr |
Senior R&D Engineer
33
salaries
| ₹22 L/yr - ₹45 L/yr |
Senior Application Engineer
30
salaries
| ₹17 L/yr - ₹30 L/yr |
Technical Support Engineer
26
salaries
| ₹12 L/yr - ₹16.5 L/yr |
Autodesk
Apisero
Actalent Services
Cyber Infrastructure