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.
Software Development Engineer In De Test Interview Questions
6,456 software development engineer in de test interview questions shared by candidates
Tell me about your project.
Have you worked with Appium?
Have you ever worked with or tested a REST API?
1) Very easy - Find a duplicate number in an array 2) More technical about their testing scenario - specific knowledge required of the product related
I cannot disclose them here for confidentiality reasons.
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
Give a sw design for a parking lot
"are you interested in what type of software we develop?"
Tell us about your experience with Rabbit or other messaging type services. What is your ideal way to test data? Have you built test frameworks in Golang before? What other type of frameworks have you built? Tell us about a time..
Viewing 921 - 930 interview questions