Re: [algogeeks] help help

2011-09-28 Thread abhishek iyer
http://www.fileserve.com/file/eBgSThF/How%20To%20Prepare%20For%20Qt%20Apt%20For%20Cat%202E%20By%20Sharma.pdf


On Tue, Sep 27, 2011 at 4:23 AM, SHUBHAM BANSAL
wrote:

> If anyone have E-book of "Quantative Aptitude For CAT by Arun Sharma".??
> Then kindly send to my email.or send me link if any 1 hav..Shubham
> bansal
> contact no. 7206338328
> NIT Kurukshetra
> Computer Engineering
> (Final year)
>
>  --
> 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, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Thanks & Regards
Abhishek Iyer

"If You Obey All the Rules, You Will Miss All the Fun. "

-- 
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, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks] De shaw ques!

2011-08-17 Thread abhishek iyer
16 is the answer ???

On Wed, Aug 17, 2011 at 5:39 PM, priya ramesh <
love.for.programm...@gmail.com> wrote:

> if a number is divided by 935 remainder is 69. if same no. is divided by
> 38, what will be the remainder?
>
> --
> 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, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Thanks & Regards
Abhishek Iyer

"If You Obey All the Rules, You Will Miss All the Fun. "

-- 
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, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks] probablity

2011-08-05 Thread abhishek iyer
@Nishant.. Can u please explain ur approach.. I think its as per mentioned
above 1/2...
On 5 Aug 2011 21:30, "nishaanth"  wrote:
> 5/6
>
> On Fri, Aug 5, 2011 at 5:55 PM, Rahul Jain  wrote:
>
>> i agree with puneet. 1/2
>>
>>
>> On Fri, Aug 5, 2011 at 9:18 PM, Puneet Goyal wrote:
>>
>>> 1/2
>>>
>>> you got the blue pen so it is for sure that is one of the first two
>>> packets, so you are left with a black pen and a blue pen and you have to
>>> find the probability of finding a blue pen among them
>>>
>>> On Fri, Aug 5, 2011 at 9:14 PM, Kamakshii Aggarwal <
>>> kamakshi...@gmail.com> wrote:
>>>
 I was given 3 packets, with 2 pens each.

 1st Packet has 2 blue pens.

 2nd Packet has 1 blue pen,1 black pen.

 3rd Packet has 2 black pens.



 I took any one packet and pulled out one pen. It turned out to be a
blue
 one.

 What is the probability that the next pen from the same packet will

 also be a blue one?

 --
 Regards,
 Kamakshi
 kamakshi...@gmail.com

 --
 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, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.

>>>
>>>
>>>
>>> --
>>> ---
>>> Puneet Goyal
>>> Student of B. Tech. III Year (Software Engineering)
>>> Delhi Technological University, Delhi
>>> ---
>>>
>>> --
>>> 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, visit this group at
>>> http://groups.google.com/group/algogeeks?hl=en.
>>>
>>
>> --
>> 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, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>
>
> --
> S.Nishaanth,
> Computer Science and engineering,
> IIT Madras.
>
> --
> 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, visit this group at
http://groups.google.com/group/algogeeks?hl=en.
>

-- 
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, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: Re: [algogeeks] aptitude

2011-08-03 Thread abhishek iyer
(10b+a)-(10a+b)=[(100b+a)or(100a+b)]-(10b+a)... [uniform speed] where a,b
are natural numbers less than 10...

*1st case*

9(b-a)=90b

a=-9b...not acceptable

*2nd case*

9(b-a)=99a-9b

b-a=11a-b

b=6a...acceptable

and only value which abides by the condition a,b are natural numbers less
than 10 is a=1,b=6

therefore,number is 16...avg speed is equal to 61-16=45

On Wed, Aug 3, 2011 at 7:25 PM,  wrote:
>
> first milestone 16
> second milestone 61
> third milestone 106
>
> its an observation..ntn like nethn..onli thing i tht ws dat as speed is
uniform so distance traveled per hr is constant..so two milestones with
reverse numbers wil hv difference as 9x-9y i.e multiple of 9..also third
milestone wil be very near to 100 to so 1 is fixed as a digit..odrs can be
found out by hit and trial..
>
> VM
> NSIT, COE, 3rd year
>
> On , Kamakshii Aggarwal  wrote:
> > vaibhav can u please explain.i know the answer already..i m just not
able to solve the equations fully
> >
> > On Wed, Aug 3, 2011 at 7:09 PM, Arun Vishwanathan aaron.nar...@gmail.com>
wrote:
> >
> > in general, if u guys get any answer, please post a short explanation
even if it the solution is very obvious to u...not everyone gets it when
looking at the answer...
> >
> >
> >
> >
> > On Wed, Aug 3, 2011 at 3:34 PM, vaibhavmitta...@gmail.com> wrote:
> >
> > 45 km/hr
> >
> > VM
> > NSIT, COE, 3rd year
> >
> >
> >
> >
> >
> > On , Kamakshii Aggarwal kamakshi...@gmail.com> wrote:
> > > A car is traveling at a uniform speed.The driver sees a milestone
showing a 2-digit number. After traveling for an hour the driver sees
another milestone with the same digits in reverse order.After another hour
the driver sees another milestone containing the same two digits. What is
the average speed of the driver?
> >
> >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > >
> > > 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, visit this group at
http://groups.google.com/group/algogeeks?hl=en.
> >
> >
> > >
> > >
> > >
> > >
> >
> > --
> > 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, visit this group at
http://groups.google.com/group/algogeeks?hl=en.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> >
> > 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, visit this group at
http://groups.google.com/group/algogeeks?hl=en.
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > Regards,
> > Kamakshi
> > kamakshi...@gmail.com
> >
> >
> >
> >
> >
> > --
> >
> > 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, visit this group at
http://groups.google.com/group/algogeeks?hl=en.
> >
> >
> >
> >
>
> --
> 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, visit this group at
http://groups.google.com/group/algogeeks?hl=en.



--
Thanks & Regards
Abhishek Iyer

"If You Obey All the Rules, You Will Miss All the Fun. "

-- 
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, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks] Puzzle[Google] Can be Solved programatically as well

2011-07-19 Thread abhishek iyer
Can you please the explain the approach.. Would be very helpful... I dint
get it ...

On Tue, Jul 19, 2011 at 1:37 PM, archita monga wrote:

> yaa..
>
>
> On Tue, Jul 19, 2011 at 1:35 PM, alagammai narayanan <
> alagamma...@gmail.com> wrote:
>
>> Yep.. Its German.. Were you guys able to come up with the 5 * 5 matrix...
>> As in who lives in which house?What does he drink,smoke etc..
>>
>>
>> On Tue, Jul 19, 2011 at 1:31 PM, archita monga wrote:
>>
>>> German!
>>>
>>>
>>> On Tue, Jul 19, 2011 at 1:22 PM, D!leep Gupta 
>>> wrote:
>>>
>>>> Ans. *German*
>>>>
>>>> --
>>>> 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, visit this group at
>>>> http://groups.google.com/group/algogeeks?hl=en.
>>>>
>>>
>>>
>>>
>>> --
>>> Archita Monga
>>>
>>>  --
>>> 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, visit this group at
>>> http://groups.google.com/group/algogeeks?hl=en.
>>>
>>
>>  --
>> 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, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>
>
> --
> Archita Monga
>
> --
> 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, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Thanks & Regards
Abhishek Iyer

"If You Obey All the Rules, You Will Miss All the Fun. "

-- 
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, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks] Some adobe interview questions.

2011-07-05 Thread abhishek iyer
@Ritesh : Can u explain ur approach for Q3 please??

On Tue, Jul 5, 2011 at 1:20 PM, Ritesh Srivastava
wrote:

> For Q3 .
> Sum of all the digits should be 8.
>
>
> I think ,
> 42101000 is an answer.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/algogeeks/-/2nUWgrZuNvAJ.
>
> 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, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Thanks & Regards
Abhishek Iyer

"If You Obey All the Rules, You Will Miss All the Fun. "

-- 
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, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks] SPOJ THRBL

2011-06-10 Thread abhishek iyer
@Karthik : Can you please the logic ??. Would be nice ..

On Fri, Jun 10, 2011 at 12:42 PM, kartik sachan wrote:

> http://www.spoj.pl/problems/THRBL/
>
> my code is
> i am getting TLE
>
> # include
> # include
> using namespace std;
> //int search(long long int [],long long )
> int main()
> {
> while(1)
> {
> int n,m;
> int count=0;
> long long int a[50010]={0};
> int b[50010],c[50010];
> if((scanf("%d%d",&n,&m))==EOF)
> break;
>
> int i;
> for(i=0;i cin>>a[i];
> for(i=0;i cin>>b[i]>>c[i];
> int j;
> int flag=0;
> for(i=0;i {
>
> for(j=(b[i]-1);j<(c[i]-1);j++)
> if(a[(b[i]-1)] {
> flag=1;
> break;
> }
> if(flag==0)
> count++;
> flag=0;
> }
> cout< }
> return 0;
> }
>
> why i am getting TLE...can anyone explain
> this...plzz
>
> --
>
> *WITH REGARDS,*
> *
> *
> *KARTIK SACHAN*
>
> *B.TECH 2ND YEAR*
> *COMPUTER SCIENCE AND ENGINEERING*
> *NIT ALLAHABAD*
>
>  --
> 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, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Thanks & Regards
Abhishek Iyer

"If You Obey All the Rules, You Will Miss All the Fun. "

-- 
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, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.