Reverse all the characters in a string before you encounter an 'x'. abcdxdd - > dcbaxdd
Development Engineer Interview Questions
37,127 development engineer interview questions shared by candidates
Reverse the string
int Solve(string str); Given the signature above, implement the simplest method that returns the results of the following arguments: 1. “3+5” (8) 2. “10+2-8” (4) 3. “5+10*3” (35) 4. “3+5--6" (14)
Group of people, you can call Know(i,j) to ask if ith person knows jth, the return value is true (i knows j) or false (i does not know j). Find the person that everybody else knows him but he knows nobody.
Given length of 3 sides as input, tell whether they form a valid triangle or not. Write all possible test cases to check your algo..
Delete n-th element from linked list. Note, you don't have a pointer to the Head of the list.
Given the definition of a Fibonacci sequence, write a function to give the n-th term of the sequence.
finad all plaindromes ina string.
Pick out k random elements from a very long linked list
Program: Let's say U1,U2 are friends and vice versa. So given a list of friends, you need to find unique set of friends. For eg: U1,U2 U2,U3 U4,U5, U2,U1, U4,U5 Should return: U1,U2; U2,U3; U4,U5
Viewing 931 - 940 interview questions