[algogeeks] Re: Plz tell wat questions are asked by MICROSOFT IDC and IT both...Plz Reply fast.....anyone...!!

2011-08-10 Thread KK
Go through the last 50-100 posts... a lot of Qs have already been posted!! -- 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] Re: Problems on Linked List

2011-08-10 Thread Don
Q1: The function below reverses a linked list in place. Call it on one of the lists, compare the resulting list to the other list. Then call it again to put the list back in its original order. list Reverse(list head) { list T, prv, nxt; prv = head; for(T = head-next; T; T = nxt) {

Re: [algogeeks] goldman sachs paper

2011-08-10 Thread UTKARSH SRIVASTAV
for written prepare for aptitude and c...and then there will be gd...then 3-4 interviews of tech,hra...improve communication skill for gd On Thu, Aug 11, 2011 at 12:49 AM, Prakash D cegprak...@gmail.com wrote: +1.. it'll be helpful On Thu, Aug 11, 2011 at 12:12 AM,

Re: [algogeeks] Re: Microsoft Written Test Questions

2011-08-10 Thread payal gupta
do reply if u have it On Thu, Aug 11, 2011 at 12:24 AM, Brijesh Upadhyay brijeshupadhyay...@gmail.com wrote: Yeah...please share questions..it will be of a lot help! -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To view this

Re: [algogeeks] Re: Amazon question.

2011-08-10 Thread Dinoja Padmanabhan
After squaring all the elements up and sorting them, couldn't we just do a binary search on the array.. so the TC would be O(nlogn)... On Wed, Aug 10, 2011 at 1:18 PM, Kunal Patil kp101...@gmail.com wrote: @Ankit: Ohh Sorry..I didnt actually read the question properly.. I didnt see we have to

[algogeeks] Re: Amazon question.

2011-08-10 Thread Dave
@Dinoja: No. You can only binary search for 1 thing, so you would have to choose two elements and then search for the third. Thus, the order would be O(n^2 log n). Dave On Aug 10, 6:11 pm, Dinoja Padmanabhan dino...@gmail.com wrote: After squaring all the elements up and sorting them, couldn't

[algogeeks] Re: Amazon question.

2011-08-10 Thread Amethy hobby
it also like Pythagorean theorem; so the a[k] also with the value where a[j]-a[i]a[k]a[i]+a[j] and a[k]a[j]=a[i]; On 8月9日, 下午10时43分, Samba Ganapavarapu sambasiv...@gmail.com wrote: We have an array of integers, we need to find the element a[i],a[j] and a[k] values where.. a[i]^2 + a[k]^2 = a[k]

Re: [algogeeks] goldman sachs paper

2011-08-10 Thread arvind kumar
This is for software profile of the intern?? On Thu, Aug 11, 2011 at 1:32 AM, UTKARSH SRIVASTAV usrivastav...@gmail.comwrote: for written prepare for aptitude and c...and then there will be gd...then 3-4 interviews of tech,hra...improve communication skill for gd On

Re: [algogeeks] c question!

2011-08-10 Thread siddharth srivastava
(sizeof(struct)); ?? That doesn't makes sense. Size of struct is what ?? you need the size of your structure with the variables you have declared in it. cos malloc returns pointer to memory block and nodeptr itself is a pointer and you have used nodeptr* further? On Tue, Aug 9, 2011 at

[algogeeks] os

2011-08-10 Thread krishna meena
Consider a set of n teaks with known runtimes r1,r2,r3rn to be run on a uni-processor machine. which processor scheduling algorithm will result in the maximum throughput? -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this

Re: [algogeeks] os

2011-08-10 Thread siddharam suresh
shortest preemptive job first Thank you, Siddharam On Thu, Aug 11, 2011 at 10:49 AM, krishna meena krishna.meena...@gmail.comwrote: Consider a set of n teaks with known runtimes r1,r2,r3rn to be run on a uni-processor machine. which processor scheduling algorithm will result in the

<    1   2