Filter interviews by
Top trending discussions
I applied via Approached by Company and was interviewed in Oct 2024. There was 1 interview round.
Reverse a string without using Java built-in functions
Create a character array from the input string
Use two pointers to swap characters at the beginning and end of the array until they meet
Convert the character array back to a string
Relative Xpath is based on the current node while Absolute Xpath starts from the root node of the XML document.
Relative Xpath does not start with a forward slash (/) while Absolute Xpath starts with a forward slash (/).
Relative Xpath is more flexible and less prone to changes in the structure of the XML document.
Absolute Xpath is more specific and provides the full path to the element in the XML document.
Relative Xpath...
posted on 14 Oct 2024
Oops concepts refer to Object-Oriented Programming principles such as Inheritance, Encapsulation, Polymorphism, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation det
Abstract class can have both abstract and non-abstract methods, while Interface can only have abstract methods.
Abstract class can have constructors, fields, and methods, while Interface cannot have any implementation.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract classes are used to provide a common base for multiple classes, while Interfaces are used to define a contrac...
posted on 25 Sep 2024
XPath for locating elements on MakeMyTrip application
Use unique attributes like id, class, name, etc. to create XPath
Avoid using indexes in XPath as they can be unreliable
Use contains() and starts-with() functions for dynamic attributes
Consider using parent-child relationships for complex structures
posted on 18 Jun 2024
Reverse a string means to flip the characters in the string order.
Use a loop to iterate through the characters of the string in reverse order
Append each character to a new string to build the reversed string
Alternatively, use built-in functions like reverse() in some programming languages
To print the characters of my name which are not repetitive, I would iterate through each character and only print those that appear once.
Iterate through each character in the name
Check if the character appears only once in the name
Print the character if it is not repetitive
The application used for automation testing is Selenium WebDriver.
Selenium WebDriver is a popular tool for automating web applications.
It supports multiple programming languages such as Java, Python, and C#.
Selenium WebDriver allows testers to interact with web elements and perform actions like clicking buttons, entering text, and verifying text.
It can be integrated with testing frameworks like TestNG and JUnit for tes...
We are using the Page Object Model framework in our current project.
Page Object Model helps in creating reusable and maintainable code by separating the page elements and their actions into separate classes.
It improves test maintenance and reduces code duplication.
Example: We have separate classes for each page in our application, containing locators and methods to interact with those elements.
posted on 1 Sep 2024
6 questions asked in an interview
The slider window problem involves finding the maximum sum of a subarray of a fixed size k within an array of integers.
Use a sliding window approach to efficiently find the maximum sum subarray.
Keep track of the current sum within the window and update it as you slide the window.
Maintain a variable to store the maximum sum found so far.
Example: Given array [1, 3, -1, -3, 5, 3, 6, 7] and window size k=3, the maximum sum
The stock buy sell problem involves finding the maximum profit that can be made by buying and selling a stock at the right times.
Calculate the difference between each pair of consecutive prices in the array
Find the maximum subarray sum of the differences using Kadane's algorithm
The maximum subarray sum is the maximum profit that can be made
I applied via Referral and was interviewed in Sep 2024. There were 2 interview rounds.
General aptitude and out put realted questions
Face to face dsa and string manipulations
2 array question 1 on sorting other one is for searching
based on 1 review
Rating in categories
Senior Member Technical
1.6k
salaries
| ₹7 L/yr - ₹21.5 L/yr |
Senior Process Associate
1.4k
salaries
| ₹2 L/yr - ₹8.2 L/yr |
Analyst
1.3k
salaries
| ₹3.4 L/yr - ₹10.5 L/yr |
Consultant
1.2k
salaries
| ₹10 L/yr - ₹40 L/yr |
Member Technical
875
salaries
| ₹3.5 L/yr - ₹11.4 L/yr |
TCS
Infosys
Wipro
HCLTech