Filter interviews by
Major questions were around problem solving, strings
Top trending discussions
Invert the bits of a given number
Use bitwise XOR operator (^) with 1 to flip each bit
Repeat the process for all bits in the number
Return the inverted number
Backward compatibility can be supported by using versioning, deprecation strategies, and maintaining clear communication with users.
Use versioning to clearly distinguish between different versions of the system
Implement deprecation strategies to phase out old features gradually
Maintain clear communication with users about upcoming changes and provide migration paths
Consider using compatibility layers or adapters to bri...
posted on 15 Jul 2024
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
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
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
I applied via Referral and was interviewed in Nov 2023. There were 6 interview rounds.
Duration: 1Hour 30 Minutes, 2 Coding Questions of Total 175 Marks. 1st Question has 75 marks and 2nd Question has 100 marks.
Using Bitwise OR operation to find the smallest missing number in an array.
Iterate through the array and perform Bitwise OR operation with each element to set corresponding bit in a bitmask
Iterate through the bitmask to find the first unset bit, which represents the smallest missing number
Example: Array [0, 1, 3, 4, 6] would have a bitmask of 10101, smallest missing number is 2
Pseudo code for a scenario
Define variables and data structures needed
Write the main logic using conditional statements and loops
Handle edge cases and error conditions
Test the pseudo code with sample inputs
posted on 24 Jun 2024
posted on 20 May 2024
I applied via Referral and was interviewed in Nov 2023. There was 1 interview round.
Selenium xpath is used to locate elements on a web page, especially useful for dynamic loading scenarios.
Use xpath to locate elements based on their attributes or position on the page
For dynamic loading, use explicit waits to ensure elements are present before interacting with them
Consider using relative xpath expressions to make your tests more robust and maintainable
TestNG is a testing framework inspired by JUnit and NUnit, with more advanced features for test automation.
TestNG uses annotations to define test methods and test configurations.
It supports parameterized tests, test dependencies, and test groups.
TestNG allows parallel execution of tests, making it faster than other testing frameworks.
It provides detailed test reports and supports data-driven testing.
TestNG can be integ...
posted on 7 Jun 2024
I applied via Naukri.com and was interviewed in Dec 2023. There were 3 interview rounds.
Here they asked lots of logical reasoning questions and checked on how you approached different situations
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
posted on 4 Jun 2024
I applied via LinkedIn and was interviewed before Jun 2023. There were 3 interview rounds.
Day to day tasks involve coding, debugging, testing, and collaborating with team members.
Writing code for new features or fixing bugs
Debugging and troubleshooting issues
Testing code to ensure quality and functionality
Collaborating with team members on projects
Participating in code reviews and providing feedback
based on 1 review
Rating in categories
Product Design Engineer
92
salaries
| ₹4.5 L/yr - ₹14.1 L/yr |
Quality Inspector
70
salaries
| ₹1 L/yr - ₹4 L/yr |
Analyst
65
salaries
| ₹3.7 L/yr - ₹7 L/yr |
Trainee Operator
59
salaries
| ₹1.6 L/yr - ₹2.9 L/yr |
Design Engineer
50
salaries
| ₹3.7 L/yr - ₹13 L/yr |
TE Connectivity
Amphenol
Delphi Automotive Systems
Jabil