Compute X^Y For Floats and Negative Values
How will you compute x^y such that it will work for floats and negative values?
How will you compute x^y such that it will work for floats and negative values?
Can you find a pair in array that will sum up to particular number?
I met three dragons. One always tells the truth, other one always lies and the last one alternates between lie
An array of elements is given arr arr is of length n Right rotate array by k elements Time complexity
It is raining at midnight – will we have sunny weather in 72 hours?
When was the last year that looked the same upside down? (1961)
A book costs $1 plus half its price. How much does it cost?
Question: You have two identical eggs. Standing in front of a 100 floor building, you wonder what is the maximum
Suppose you had a Stack class. Write a new class MaxStack which, in addition to push() and pop(), has a
How can you get a fair coin toss if someone hands you a coin that is weighted to come up
We are NY Tech asks: “How many unique areas of human knowledge have the right size of passionate users to
What is the most efficient way, memory-wise, to store 1 million phone numbers? Â Apparently this is an interview question at
A typical programming interview question is “reverse a string, in place”. if you understand pointers, the solution is simple. even