Re: [algogeeks] Re: help

2011-09-13 Thread mithun bs
Quantitative Aptitude by R.S.Agarwal. On Tue, Sep 13, 2011 at 2:12 PM, DIVIJ WADHAWAN wrote: > Try material of MBA coaching institutes wiz Career Launcher,Time > etc > > On Sep 12, 6:11 pm, wellwisher wrote: > > please suggest me some good aptitude books > > -- > You received this message b

[algogeeks] Os/processor dependencies of object file(C compiled file)

2011-08-10 Thread mithun bs
Hi, I know that the compiled code of a C file(after assembler converts assembly code to opcode) cannot be run on a different OS or it cannot be run on a different processor architecture. So, I need to know what are the machine dependencies which are added in object file. One thing is the opcode

Re: [algogeeks] a C question

2011-08-05 Thread mithun bs
The culprit in this program is printing a float variable with %d specifier. printf("%d\n", t); Removing this line, the program behaves normally. This line may crash your program. Also it may remove some bytes from your stack. I feel this is what happening. Even I am not very convinced. Still try

Re: [algogeeks] Re: remove duplicate words in a string

2011-08-05 Thread mithun bs
Can you please explain this? Is array[256] not extra space? On Fri, Aug 5, 2011 at 5:14 PM, deepikaanand wrote: > static int array[256]; > removedupli(char s[],int n) > { > array[s[0]]=1; > for(i=1;i { > if(array[s[i]]==0) > array[s[i]]=1; > else > { > for(pos=i;i s[pos]=s[pos+1]; > i--; > } > }

Re: [algogeeks] Reverse Bits

2011-08-05 Thread mithun bs
Hi Rajeev, I follow similar approach. The basic logic is swap bits of a pair, then swap nibbles(2 bits) and then swap (4bits), 8bits and go on. So for ex. 0110 1101 1100 0101 In first step, I swap bits of each pair. So this becomes, Input - 0110 1101 1100 0101 output- 1001 1110 1100 1010 In s

Re: [algogeeks] Fwd: Solve dis!

2011-08-04 Thread mithun bs
? >> >> On Thu, Aug 4, 2011 at 5:59 PM, jestincobol nair >> wrote: >> >>> @shady : logic for selecting cindy ?? >>> And yes Tuesday is obvious :) >>> >>> >>> On Thu, Aug 4, 2011 at 5:47 PM, mithun bs wrote: >>> >>&g

Re: [algogeeks] Fwd: Solve dis!

2011-08-04 Thread mithun bs
Ya, Tuesday is right. Quiet simple On Sunday both should say truth. If only one guy says it is sunday it should be a lie. So the answer should be Tuesday only. On Thu, Aug 4, 2011 at 5:24 PM, sagar pareek wrote: > @shady why cindy not linda? > > > On Thu, Aug 4, 2011 at 5:21 PM, shady wrote: >