You have three sock drawers. One has red and blue socks, one has blue and green socks, and one has green and red socks. What is the expected number of socks you must pull to be sure which drawer is which, assuming that the number of socks of each color in each drawer is both large and equal?
Developer Interview Questions
269,104 developer interview questions shared by candidates
Q: How would you explain protocol-oriented programming ? Q: Can you explain MVVM? Q: Explain what SOLID is?
What are your salary expectations?
Given a character array, calculate the minimum no. of jumps from 1st alphabet to reach the last alphabet. CRITERION: From a given character, you can either: 1. Jump to the adjacent character 2. Jump to the same character positioned in a different place
1.) Sum of digits of a number 2.) Reverse a string 3.) sum of largest sequence number in an array list.
Some small program in JavaScript
What are access modifiers?
What is Java?What is JVM?
programs.. 1.You are given a number in form of integer consist of digits from 0 to 9. Each digit consist of several dash ( see figure) . Your job is to calculate the number of dashes in the given number. -- -- -- | | | | | | | | | | | | -- -- -- -- | | | | | | | | | | -- -- -- 2.An array of integers is given and you have to split the array from the index where sum of left hand side elements is equal to sum of right hand side elements for eg.[1,1,0,2] this will be splitted in two parts [1,1] [0,2] [3,2,1,5,1] will be [3,2,1] and[5,1] 3.a string is given "i am in delhi" if "elh" is there in the given string in the same order('e' then 'l' then 'h') then print "YES" else "no" 4.Write a program to check whether string is pallindrom or not
Explain what functional programming was, its benefits, downsides and why I thought it was useful or not.
Viewing 421 - 430 interview questions