Showing posts with label Arbit. Show all posts
Showing posts with label Arbit. Show all posts
0 comments Thursday, January 24, 2008

Remeber the pro-piracy postI had written around 6 odd months ago?

Some Dood either (i guess) choose to teach me a lesson by plagrising my post or totally loved the post and copied it on his blog or was loser enough to just copy the post and not remove the "Posted by Blogger bhaiyya" thing.



Phew!!!

As they say imitation is the best form of flattery.

5 comments Thursday, September 27, 2007

Well, we all have recieved those email forwards about Google employees and the kind of freedom they enjoy at their office.

Wonder what it takes to work @ Google ???

A nerdy computer-aholic degree from Stanford is just not enough. Google actually expects its employs to be smart too.

Here is a sample set of questions that were asked in a Google interview. It is very probable that these questions were asked to a candidate applying for the post of a Software Engineer(in which case Smart-Ass replys may not work).




I make a humble attempt to answer these questions, which however does not imply that this is how I would have answered these questions in the interview. I tried to time limit myself to a around 2-3 mins per question.

---------------------------------------------------------------------------------------------
1. How many golf balls can fit in a school bus?

----------------------------------------------------------------------------------------------

1. The answer is not (Volume of bus)/(Volume of the ball.)Assuming the bus to be a hollow cuboid the answer is (l*b*h)/(d*d*d)l,b,h are the greatest integral multiple of d lesser than length, breadth and height resp.d is the diameter of the ball.

----------------------------------------------------------------------------------------------

2. You are shrunk to the height of a nickel and your mass is proportionally reduced so as to maintain your original density. You are then thrown into an empty glass blender. The blades will start moving in 60 seconds. What do you do?
----------------------------------------------------------------------------------------------


I'd hold the centre of the blade with all my might.


----------------------------------------------------------------------------------------------
3. How much should you charge to wash all the windows in Seattle?
----------------------------------------------------------------------------------------------

I dont know. Probably, one dollar per window. Or I d take a monthly salary for the task.


----------------------------------------------------------------------------------------------
4. How would you find out if a machine’s stack grows up or down in memory?
----------------------------------------------------------------------------------------------


Declare an array and compare the memory address of any 2 positions.

----------------------------------------------------------------------------------------------
5. Explain a database in three sentences to your eight-year-old nephew.
----------------------------------------------------------------------------------------------

It is a record of data.
Data could be any information.
Eg. School students record etc...


----------------------------------------------------------------------------------------------
6. How many times a day does a clock’s hands overlap?

----------------------------------------------------------------------------------------------

22


----------------------------------------------------------------------------------------------
7. You have to get from point A to point B. You don’t know if you can get there.

What would you do?
----------------------------------------------------------------------------------------------

Assuming no other extra factors. I would just move in any direction and incase I do not reach there I d trace back and look-in someother direction.

----------------------------------------------------------------------------------------------
8. Imagine you have a closet full of shirts. It’s very hard to find a shirt. So what can you do to organize your shirts for easy retrieval?

----------------------------------------------------------------------------------------------

Firstly, it is necessary to find out why is th retrival tough. Is it because they are not organised logically or rather because they are physically placed in an unreachable corner.Both the cases will have different solutions.


----------------------------------------------------------------------------------------------
9. Every man in a village of 100 married couples has cheated on his wife. Every wife in the village instantly knows when a man other than her husband has cheated, but does not know when her own husband has. The village has a law that does not allow for adultery. Any wife who can prove that her husband is unfaithful must kill him that very day. The women of the village would never disobey this law. One day, the queen of the village visits and announces that at least one husband has been unfaithful. What happens?

----------------------------------------------------------------------------------------------

Ahh, this is one question any Comp engg can answer.

----------------------------------------------------------------------------------------------
10. In a country in which people only want boys, every family continues to have children until they have a boy. if they have a girl, they have another child. if they have a boy, they stop. what is the proportion of boys to girls in the country?

----------------------------------------------------------------------------------------------

1:1. Because, the probability of a boy being born to a girl being born is 1:1.


----------------------------------------------------------------------------------------------
11. If the probability of observing a car in 30 minutes on a highway is 0.95, what is the probability of observing a car in 10 minutes (assuming constant default probability)?


----------------------------------------------------------------------------------------------



----------------------------------------------------------------------------------------------
12. If you look at a clock and the time is 3:15, what is the angle between the hour and the minute hands? (The answer to this is not zero!)


----------------------------------------------------------------------------------------------


7.5 degree




----------------------------------------------------------------------------------------------
13. Four people need to cross a rickety rope bridge to get back to their camp at
night. Unfortunately, they only have one flashlight and it only has enough light left for seventeen minutes. The bridge is too dangerous to cross without a flashlight, and it's only strong enough to support two people at any given time. Each of the campers walks at a different speed. One can cross the bridge in 1 minute, another in 2 minutes, the third in 5 minutes, and the slow poke takes 10 minutes to cross. How do the campers make it across in 17 minutes?
----------------------------------------------------------------------------------------------



- The underlined people cross over to the other side.

Side 1 Side 2 Time consumed

1,2,5,10 -- 2
5,10 1,2 1
1,5, 10 2 5
1 2,5,10 2
1,2 5,10 2
-- 1,2,5,10 ----

Total time consumed=12 min.

----------------------------------------------------------------------------------------------
14. You are at a party with a friend and 10 people are present including you and the friend. your friend makes you a wager that for every person you find that has the same birthday as you, you get $1; for every person he finds that does not have the same birthday as you, he gets $2. would you accept the wager?

----------------------------------------------------------------------------------------------


No.

----------------------------------------------------------------------------------------------
15. How many piano tuners are there in the entire world?

----------------------------------------------------------------------------------------------

:-?



















:-?



dont know

----------------------------------------------------------------------------------------------
16. You have eight balls all of the same size. 7 of them weigh the same, and one of them weighs slightly more. How can you find the ball that is heavier by using a balance and only two weighings?

----------------------------------------------------------------------------------------------

Divide the balls into 3 groups of 3balls,3balls and 2 balls.

Compare the 2 set of 3 balls.

1. Their weights are not same.
Take the heavier set and then compare any 2 balls. If they dont weigh the same youve got they heavier ball else the remaining 3rd ball is the heavier one.

2. Their weights are same.
Weigh the remaining 2 balls and get the heavier one.



----------------------------------------------------------------------------------------------
17. You have five pirates, ranked from 5 to 1 in descending order. The top pirate has the right to propose how 100 gold coins should be divided among them. But the others get to vote on his plan, and if fewer than half agree with him, he gets killed. How should he allocate the gold in order to maximize his share but live to enjoy it? (Hint: One pirate ends up with 98 percent of the gold.)

----------------------------------------------------------------------------------------------

This is a tough one. I took over 10 mins to solve this one. In all probablity I would not crack this in the interview.

0 comments Tuesday, May 15, 2007

M : Do u play cricket???

A : (What sort of a ques it that)Every Indian plays cricket..

M : Except the cricket team.

0 comments Friday, April 13, 2007

Imagine that one wishes to enter a local lottery along with thousands of other participants. It is immediately recognizable that the chance of one's ticket losing is so high that one is justified in believing that it will not win. Probability seems to confirm the justification for such a belief. Yet, it is not just one's individually purchased ticket that has such a high probability of losing, but any ticket that has been bought in a fair lottery. Furthermore, since one seems justified in believing that each individual ticket will not win, one also seems justified in believing that the conjunction of all tickets, or that every ticket, will not win.<HUH?????, if all have low probablity then all put together have low probablity too????> Yet at the same time, one must also remember that in all lotteries there is the slight probability that a ticket will win. After all, there is often one winner. How, therefore, can one be justified in believing that every ticket will not win, but that one ticket will win?

Original article here.

Kya bakwaas ......

I would rather call it Botox than Paradox... (OK, I am going to have coffee)

7 comments Saturday, April 7, 2007

Why is it that daddajis gyan, more often than not, contradicts any form of teeny-meeny bit of common sense. Seriously yaar, was it like a secret conspiracy of those old men sitting on a cot. Picture this village scene….


Chiraunjilal : Arre Bhai!! Kuch karne ko hi nahi hai !! Saale Benjamin Franklin electricity bhi invent nahin ki (Yeh, our ancestors could see the future)!!Bore ho rahe hain!Kuch masti karte hain yaar! {We are getting bored lets do something}


Gajodhar : Chalo yaar, aane vaali generation ki lagate hain { Lets create a mess for the coming generation}

Chiraunjilal : Aree Gajodhar bhadiya idea hai !! Chalo yaar koi nai “Ancient Therapy” banate hain..{lets make a new Ancient therapy}

Gajodhar: Gajaab Idea diye ho re!!! Majaa aai gava re {Great idea}


The Chinese Equivalent…..


YO: Chin chaun Chuinnn !! kyn Phun

HU: What the hell is he sayin???? Lets come up with Acupressure atleast that ll keep his trap shut for sometime..



Case Study:

Consider a 21 Year old Fit guy. (by fit I mean something like a health freak.).

1 year ago he had a perfect vision. Around that time he joined an IT company.

Now he has a slight eye power and he wants to get that cured.



What could have been the cause of the Eye Power???













































Cmmon...

You dont need to netwon to put this in place..

























“IT industry” therefore “spent a lot of time in front of the computer screen” therefore “poor eye-sight”…………………………..Right????




Obviously yaar, I mean Jacking off doesnt effect ones eye-sight or looking at good chicks doesnt make one go blind (uska badla to agle janam mein dega) or making love makes one go blind..


Or doesn’t it???


Actually that’s what Mr. Acupressure said.


Surprised…..So was I.


I am not challenging the curing power of these “ancient therapies” but I just don’t understand why do the "docs" supplement them with stuff like:

There is a Hole in your head where the cosmic forces converge.
And
I can send energy all the way to Canada.



Not only does it sound implausible, but it is such a turn off for the prospective patients who have some bit of intelligence..


OK.. now I cant figure out how to end this blog..


So bbye..neend aa rahi ha…

2 comments Saturday, March 31, 2007

Ladies and Gentlemen and Boys and Girls may I present to you the new Law that is known to define, control and explain all the randomness of the hermeneutics of the post-industrial society influenced by the conscious collapse of the hyper-structures that were formed in a pre-postmodernist era. .... The Burphys Law.

Official definition: "If you are really craving to have a Burphy, then it will be right in front of you but you would not have any cash in your pocket. Even if at that point of time you Best-est-est friend happens to meet you, he would ahve forgotten his wallet at home."

If there is any situation in which u feel that this theory has failed you must realize that it is the inability of your teeni-meeni brain to comprehend and/or appreciate the Truth.

It was merely chance I could beautifully "see " this theory during a research that I was doing. (Doesnt that remind me of the discovery of Microwaves?? ;) )