Sdet
Sdet Interview Questions and Answers for Freshers
Q1. Given a singly linked list, write a recursive method to reverse every 3 nodes in the list. He asked me to inform if I have seen the question
Reverse every 3 nodes in a singly linked list using recursion.
Create a recursive method that takes the head of the linked list as input.
If the head is null or there are less than 3 nodes remaining, return the head.
Reverse the first 3 nodes by swapping their pointers.
Recursively call the method on the next 3 nodes and update the pointers accordingly.
Return the new head of the reversed linked list.
Q2. Write an extended method, which will accept locator and timeout, if method is visible before timeout, return success else return failure
Create a method to check if element is visible within a specified timeout
Create a method that accepts a locator and timeout as parameters
Use a loop to check if the element is visible within the specified timeout
Return success if the element is visible before timeout, else return failure
Q3. Simple xpath without using Index reverse strings with words separately
Reverse strings with words separately using simple xpath without using index
Use XPath function to split the string into words
Reverse each word individually using XPath function
Concatenate the reversed words back together
Q4. why Snapdeal
Snapdeal is a leading e-commerce platform in India, offering a wide range of products and services.
Snapdeal has a vast product catalog, providing customers with a wide variety of options.
The platform offers competitive prices and frequent discounts, making it attractive for customers.
Snapdeal has a user-friendly interface and a seamless shopping experience.
The company has a strong logistics network, ensuring timely delivery of products.
Snapdeal has a robust customer support s...read more
Sdet Jobs
Top Interview Questions for Sdet Related Skills
Interview experiences of popular companies
Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Reviews
Interviews
Salaries
Users/Month