For the 2nd ques, wat i think is the interviewer has kept the restriction of
not moving the data since you may have a linked list about which you donot
have much information about the structure of the node of the list(only know
about the next pointer) and hence you cannot move the data. For that,
@pankaj: nice answer...well done..;)
--
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.
For
for the second case it is possible only if the node contains the
previous node's address. Else there should be data movement
--
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
thanks for sharing this question
--
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.
For more
hot lipkiss
http://hotactressstoyou.blogspot.com/2011/04/lipkiss-2.html
lipkiss in without dress
http://hotactressstoyou.blogspot.com/2011/04/lipkiss.html
seepika padukone sexy back look
Hello Sunitha,
Can you please stop posting these kind of things into this google group.
Please go to some other appropriate group.
Thanks,
Mani
On Fri, Apr 8, 2011 at 3:56 PM, SUNITHA BUSETTY
sunitha.buse...@gmail.comwrote:
hot lipkiss
Hello,
I dont think this is the right place for u to post these kinda things.
Also,if the admin of this group is still active,kindly delete this user from
the group.
Thnx.
-Vishnutej
On Fri, Apr 8, 2011 at 4:04 PM, Manikanta Babu manikantabab...@gmail.comwrote:
Hello Sunitha,
Can you please
For the second case,
Consider,
A - B - C - NULL
Accor 2 me he has asked to reverse d list to make it as C - A by deleting
B, which can be done like this,
temp-next = temp-next-next; // A-C-NULL
temp-next-next = temp; //A-C-A
temp = temp-next; //C-A-C
temp-next-next = NULL; //C-A-NULL
Correct
hii,
Small correction
For the second case,
Consider,
A - B - C - NULL
Initially temp is pointing to A.
Accor 2 me he has asked to reverse d list to make it as C - A by deleting
B, which can be done like this,
temp-next = temp-next-next; // A-C-NULL
temp-next-next = temp; //A-C-A
temp =
Friends in my class appeared for it recently. They were asked OS n
Networking based questions.
On Thu, Apr 7, 2011 at 11:09 PM, nitish goyal nitishgoy...@gmail.comwrote:
If anyone had telephonic interview at cisco regarding summer internship,
then
please the experience asap. I am having this
ou are given an array A of k values which contain int values in sorted
(asec) order. Find top k values (asec) which can either be the number from
the array A, or sum of any two numbers from A or sum of any three numbers
from A. So, if A's values are represented as : a1,a2,...,ak , the possible
This link has an online application which factors large numbers using
the Elliptic Curve method.
http://www.alpertron.com.ar/ECM.HTM
Try a value like
12991627363868130524522557049357159496792541860595064869631.
On my computer this application factors this number in 15 seconds.
Anything relying
if innitially temp is pointing to A then there is no problem in deleting the
middle node ..
On Fri, Apr 8, 2011 at 4:49 PM, murthy.krishn...@gmail.com
murthy.krishn...@gmail.com wrote:
hii,
Small correction
For the second case,
Consider,
A - B - C - NULL
Initially temp is pointing
I developed a website/facebookapp. I would appreciate it if you could give
feedback about it.
http://apps.facebook.com/wouldloveto/
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to
So it will post to other people that I would love to do something?
2011/4/8 Seçkin Can Şahin seckincansa...@gmail.com
I developed a website/facebookapp. I would appreciate it if you could give
feedback about it.
http://apps.facebook.com/wouldloveto/
--
You received this message because
Both say liesA is monkey and B is a human...
On Friday, April 8, 2011, Lavesh Rawat lavesh.ra...@gmail.com wrote:
Island Puzzle
There are people and strange monkeys on this island, and you can not tell
who is who. They speak either only the truth or only lies.
Who are the following two
A: B is a lying monkey, I am a human.
If A is lying it means B is not lire and B is true.
but B says.
B: A is telling the truth.
This is a contradiction.
If B is true, that also means A is true and again A is saying that B is a
lire so this is a contradiction.
--
* Thanks and Regards*
What could be the efficient algo for finding permutation of string.
Lets say a user enter a string abc.
The output should be 6(3*2*1) along with he combination of them like
abc
bca
cab
bac
acb
cba
*Subhransu Panigrahi
*
*Mobile:* *+91-9840931538*
*Email:*
#include stdio.h
#include string.h
#include stdlib.h
int fact(int n);
void main()
{
char a[20],st_char;
static int i,j,k,n,ctr,main_ctr;
printf(Enter the string : );
//gets(a);
scanf(%s,a);
n=strlen(a);
if(n=1)
{
printf(please enter a valid string );
exit(0);
}
//label :
while(main_ctrn)
@Uttam: The negation of A is a lying monkey is A is not a lying
monkey. That means that A could be a truth-teller or A could be a
human (or both).
If B is telling the truth, then so is A, but then B is a liar. That is
a contradiction, so B is a liar. Then A is a liar.
Therefore A is a monkey,
1, You have 52 cards. How will you make your you distribute cards randomly.
2. You have given a binary tree. Given any node, print the all the nodes at
the same level.
3. You have given a binary tree and two given nodes. Find the distance
between two nodes.
--
You received this message because
21 matches
Mail list logo