- Given a string, how would you determine if that string contains a palindrome?
Sdet Interview Questions
4,387 sdet interview questions shared by candidates
post order traversal of a Binary Search Tree Follow up Create a BST from this post order traversed array and write test cases for this function
Reverse each word of the string without reversing the order of the words this is a test BECOMES siht si a tset
Write a function that reverses the letters in each word using only one char buffer. E.g.: "I work at Microsoft" to "I krow ta tfosorciM"
How many gas stations are there in California?
Write a function to turn a string into an integer and test it
Write a function that takes a String as a parameter. Count the number of A's in the String before you reach a C.
Find if given number matched sum of two elements in sorted array.
given a linked list which has two types of pointers, a normal next pointer which points to next element in the list and random pointer which points to random element in the list. Question was to clone this linked list
Write the algorithm for this: If you have a string aaabbc the output should be a3b2c1, for the string aabcc the output should be a2b1c2 and so on. You should not allocate memory for a new string and you can do this only by reading each character once. Ps: if the result is bigger than the original string (like abc -> a1b1c1) just return null or some message that makes that clear.
Viewing 31 - 40 interview questions