I was asked to write an algorithm in C++ to sort an array. The function I was to write was to take in a string of letters "b" and "r". b = a red ball and r = a blue ball. The function was to return an integer with the least number of swaps needed to separate the balls to be next to their own colors... So for example, RBBR would return 1, since you only need to swap one of the letters to be RRBB or BBRR.
Sdet Interview Questions
4,405 sdet interview questions shared by candidates
Write a code snippet to general the first 10 Fibonnaci numbers.
how do you test a stapler?
How would you test (a physical object in the room or something else)? Totally unexpected when asked to tell them how you would proceed to test a spoon. This is to test your testing aptitude.
Given a series of numbers, replace each number with its nearest possible nuumber
Enqueue and Dequeue
Test a vending machine
How would you test an elevator built in a hospital
Given a string of characters figure out how many palindromes are in the list of words.
Implement a modified bubble sort.
Viewing 1441 - 1450 interview questions
See Interview Questions for Similar Jobs
Senior Software Engineer Im TestSoftware Test EngineerJunior Software Test EngineerSenior Software Test EngineerSoftware Development Engineer In TestSenior Software Engineer In TestSenior Software TesterSenior Software Development Engineer In TestSoftware Test LeadSenior Software Qa Test EngineerSenior Software Systems Test EngineerSenior Software Engineer TestSenior Software Test Automation EngineerSoftware Testing EngineerSoftware Development Engineer In De TestSoftware TestingSoftware Test Automation EngineerSenior Software Qa Engineer