n= 20 for (i=0;i<n; i--) print i the question was to change or replace a only one character in for loop to print 20 times.
Java Interview Questions
6,584,562 interview questions shared by candidates
They ask you questions like "how would you describe the color yellow to a blind person?', what's your greatest strength/weakness?, what would someone who does not like you say about you? If a close friend were to write a book about you, what would it be called?, what are 3 adjectives to describe you? , describe customer service, What would you change about your last supervisor?...etc
Write a C function to define strstr(char *haystack, char * needle) to return the first occurrence of needle in haystack. Code must compile and execute.
Given set of coins and each coin has its unique probability to be head up, say double[] probs stores the probability values for all coins, print out all different cases and accordingly probability.
Design a data structure that supports insert, delete min, delete max, get min, and get max, all in log(n) time.
1--a 2--b ... 26--z given a digit , return the count of the possible output eg. '1313' --- 4 acac mac mm acm '101' --1 ja cannot discard any digit .
data question: dialoglog (userid int appid int type char , a flag either "imp" or "click" ds timestamp ) How would you access the quality of app? How to compute click-through rate (in mySQL)?
SQL question: given a table of interaction between users (user_a | user_b | day), find number of users who had more than 5 interactions yesterday (assume there is only one unique interaction between a pair of users per day). Product Question: A user satisfaction survey was conducted for two groups of facebook users (each with 50 k sample size). Group1: who had enabled certain login security features Group 2: who had not enabled these security features. It was found that user satisfaction with group1 was 30% lower than with group 2. Why do you think so? Comment on how the survey was conducted?
Given a table of friend requests sent and friend requests received, find the user with the most friends.
Print a linked list in reverse recursively and non-destructively.
Viewing 3041 - 3050 interview questions