Senior Software Tester Interview Questions

1,296 senior software tester interview questions shared by candidates

In a language of your choice, please provide a solution for the following problem. Problem: Given a sorted array of non-zero integers, remove the duplicate elements from the array and return the number of unique elements found. At the end of your algorithm, the array should contain unique elements. If the number of unique elements is less than the size of the array, fill the remaining indices with 0. For example: ex. Input - arr[] = {1, 2, 2, 3} ex. Output - arr[] = {1, 2, 3, 0} - return 3 ex. Input - arr[] = {1, 1, 1, 1} ex. Output - arr[] = {1, 0, 0, 0} - return 1 You should include your algorithm in the removec Duplicates method, whose inputs are the array and the length of the array.
Mar 21, 2022

In a language of your choice, please provide a solution for the following problem. Problem: Given a sorted array of non-zero integers, remove the duplicate elements from the array and return the number of unique elements found. At the end of your algorithm, the array should contain unique elements. If the number of unique elements is less than the size of the array, fill the remaining indices with 0. For example: ex. Input - arr[] = {1, 2, 2, 3} ex. Output - arr[] = {1, 2, 3, 0} - return 3 ex. Input - arr[] = {1, 1, 1, 1} ex. Output - arr[] = {1, 0, 0, 0} - return 1 You should include your algorithm in the removec Duplicates method, whose inputs are the array and the length of the array.

Questions related to Data structure, LinkedList, Selenium, TestNG Problem 1: for given integer array, find the maximum number which is formed using these integers i.e { 2,20,31,4,6,8} ==> 86431220 Problem 2: for a given integer array {4, 3, 5, 5, 5, 1, 3, 0, 2, 0} , Find maximum occurrence of number and sort it according to decreasing order i.e { 5=3, 3=2, 0=2, 4=1, 1=1} Question 3: write the cases for deleting an element from Singly linked list and doubly linked list Other question like write the cases for Payment Gateway etc
avatar

Senior Software Development Engineer In Test

Interviewed at PharmEasy

3.4
Oct 16, 2020

Questions related to Data structure, LinkedList, Selenium, TestNG Problem 1: for given integer array, find the maximum number which is formed using these integers i.e { 2,20,31,4,6,8} ==> 86431220 Problem 2: for a given integer array {4, 3, 5, 5, 5, 1, 3, 0, 2, 0} , Find maximum occurrence of number and sort it according to decreasing order i.e { 5=3, 3=2, 0=2, 4=1, 1=1} Question 3: write the cases for deleting an element from Singly linked list and doubly linked list Other question like write the cases for Payment Gateway etc

Viewing 181 - 190 interview questions

Glassdoor has 1,296 interview questions and reports from Senior software tester interviews. Prepare for your interview. Get hired. Love your job.