Can anyone give me some idea if the given no is small like 12 then the next
one is 17
On Mon, Dec 24, 2012 at 7:56 PM, marti amritsa...@gmail.com wrote:
I REPEAT, THERE is no need to SORT;
http://en.wikipedia.org/wiki/Permutation#Lexicographical%5Forder%5Fgeneration
On Friday,
@wladimar,
the value of 2 power 31 is 2147483648... but the integer range is
-2147483648 to 2147483647... when you trying to print the 2 power 31 it
gives you the value -2147483648 due to exceeding th limit of an signed int..
--
You received this message because you are subscribed to the
Hi,
This is a microsoft question asked in our campus previous year.
Anyone having idea please share it here...
Given an array of n elements A[n]. Write a program to create a
new array OUT[n],
which has its elements as multiplication of all the elements
in the input array
@vipin kumar,
The no 7 and x are just assumptions it may be of any
combinations... just try it in real time then you will have a clear
understanding.
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group,
You just split the 20 coins into two groups such that each one contains 10
coins. Now you have to flip any one group of coins so that you will get
same no. of heads and tails in each group.
For example,consider the 1st group contains 7 heads and 3 tails so
obviously the 2nd one contains 7 tails
Single queue only satisfies the given condition. I think it's the correct
one..
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to
Which of the following queue creates overflow when the no of elements is
less than the queue size??
1)single queue
2)priority queue
3)dequeue
4)circular queue
Kindly explain what is the answer and why??? Thanks in advance..
--
You received this message because you are subscribed to the Google
@mind blogger,
Thank u:) Got it...:)
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to
algogeeks+unsubscr...@googlegroups.com.