[algogeeks] Infotrellis

2011-10-07 Thread Beginner
Does Infotrellis visited any campus ? What kind of questions they would ask?any idea ..Help immediately -- 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

[algogeeks] Waiting list in Qualcomm

2011-10-04 Thread Beginner
Guys Qualcomm came to our college for internship selection(May-July 2012).They selected 3 guys and me and 1 guy in waiting listThey are saying that they would inform about the confirmation on next year mayIs it worth waiting ... Note: I am not from IIT, IISc, IIM They said usually they

[algogeeks] Re: MICROSOFT WRITTEN

2011-09-12 Thread beginner
although multiplication operator is not allowed.. but it's an attempt to write shorter... c++ implementation- int cond(int x, int y, int z){ return y*(int)((bool)x)+z*(1+(~(int)((bool)x)+1)); } -- You received this message because you are subscribed to the Google Groups Algorithm Geeks

Re: [algogeeks] Find the Max from each sub-array of size k

2011-09-02 Thread beginner
i think the problem can also be solved by DP.. arr is the original array.. final is the array required.. for(i=0;in;i++) final[i]=arr[i]; for(i=2;i=k;i++) for(j=0;jn-i+2;j++) final[i]=max( final[j] , final[j+1]); initial n-i+2 entries in the array final contains the answer.. time

[algogeeks] Equivalent malloc statement for calloc

2011-08-18 Thread Beginner
calloc(10*sizeof(int)); -- 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 options,

[algogeeks] How to print Combination triangle??

2011-08-15 Thread Beginner
1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 1 6 15 20 15 6 1 -- 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

[algogeeks] Printing a Number triangle

2011-08-13 Thread Beginner
How to print this triangle? 1 3 2 6 5 4 10 9 8 7 and how to find the number of rows if n is given? For ex if n=10 how to find num of rows=4?? Is it Log 10 to the base of 2!! -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this