Write a function Brackets(int n) that prints all combinations of well-formed brackets. For Brackets(3) the output would be ((())) (()()) (())() ()(()) ()()()
MISSING VALUE Interview Questions
6,572,323 interview questions shared by candidates
Write a function to get maximum consecutive sum of integers from an array.
You are given an n by n array filled with '0's, and you have to set randomly X number of '1's in that array. Looping and generating x random number doesn't work as you might get the same random number (especially as X gets closer to n*n, collisions will become more likely in which case you'll loop for a very long time before filling all the '1's). All positions must have the same probability to get selected, and the array might be huge.
What's the probability of pulling four of a kind from a deck of cards in five tries.
tell me about yourself, what is your availability
Where I will see myself in a few years?
What do you need in a supervisor in order to succeed?
How did I feel about managing a poor performing department?
probability of the product coming from location A is 0.8 and from location B is 0.6. What is the probability the customers will receive the product from location A or location B SQL - tested on different join , lead , lag, pivoting in sql , sub query, group by having, where, aggregate and think about how you would find outliers)
Given a list of n numbers. All numbers except one are unique. Find the number with duplicate entry.
Viewing 861 - 870 interview questions