Coding: Create a stack with the usual push() & pop(), but with an additional function getMiddle() that returns the middle element of the stack in constant time.
Software Test Lead Interview Questions
26,680 software test lead interview questions shared by candidates
Given a 2D rectangular matrix of boolean values, write a function which returns whether or not the matrix is the same when rotated 180 degrees. Additionally verify that every boolean true is accessible from every other boolean true if a traversal can be made to an adjacent cell in the matrix, excluding diagonal cells. That is , (x , y ) can access the set [ ( x + 1 , y ) , ( x - 1 , y ) , (x , y - 1 ) , (x , y + 1 ) ] For example, the matrix { { true , false } , { false , true } } should not pass this test.
Given a list of integer e.g. (1,2,4,5,6,7,8...) Find a pair with a given sum.
Tell me about yourself
void foo(char*a, char*b){ while(*a++ = *b**); return; } int main(){ char buf[20]; foo(buff,"Hello"); printf("%s",buff); } what is the output for this program?
Given an array of 10 numbers, all 0 or 1, write code to turn the 0's to -600 and the 1's to 600 without using any if/then or switch statements.
What is difference between source coding, channel coding and modulation?
Write me a program that does ... with recursion in it. In java or C++.
Q) How would you all values from the nodes of a given binary tree into a string and then deserialize the string and put it back in the binary tree?
No interview. Just tests.
Viewing 91 - 100 interview questions