Qualcomm Interview Question for Software Engineer / Developers


Country: United States
Interview Type: In-Person




Comment hidden because of low score. Click to expand.
4
of 6 vote

If they decide to walk from San Jose to New Jersey, they are not very smart to begin with :)

- Anonymous October 25, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

awesome!

- geeth June 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
3
of 5 vote

If he did not have it both will be jumping on him to kill him.

- Hamm November 28, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

LOL

- sukumar May 26, 2012 | Flag
Comment hidden because of low score. Click to expand.
2
of 2 vote

Common sense is not so common..!!

That smart guy is able to recognize it because, none of them have a marker, only the person who was passing by was having marker..!!

As simple it is..!! :)

- Vinay Goli November 21, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

yes u r right
u have shown it

- Anonymous August 11, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

vinay you are absolutly right, common sense is not common...lol

- Anonymous September 18, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

True, common sense is not common. The marker is never mentioned in the puzzle you can not assume it. The clue here is "smiling at each other" and one can not draw a smiley perfectly on the forehead without a mirror(or any similar object)

- Anonymous July 22, 2014 | Flag
Comment hidden because of low score. Click to expand.
2
of 2 vote

The smart one erases his forehead, presuming that there might be something on his forehead too. Then others being toooo dumb, stop looking and at and laughing. Now they just laugh at each other. Then the smart one knows that he too had a smiley on his forehead

- s March 19, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

that looks to be only correct answer out of all given above.

- zeroByzero July 24, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

that looks to be only correct answer out of all given above.

- zeroByzero July 24, 2012 | Flag
Comment hidden because of low score. Click to expand.
1
of 1 vote

Sounds like a trick question. "But only one smart one realizes it." Realizes what? We don't have enough information to answer the question.

- jkunzvt November 01, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

If other two are having the smiley on their head and he didnt make it that means 4th person made it. And if 4th person made the smiley, then why would that person leave him.

- Mradul January 18, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

LOL...!! okk suppose Place A to Place B :P

- einstein.goli October 26, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Principle of induction?

- eugene.yarovoi October 26, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

principle of induction? really??? how is that even possible when only one realizes it !! think

- einstein.goli October 26, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

ya.. "Realizes smiley on his face"

- einstein.goli October 26, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

one of the possibility could be he can look into his face in once of his eyes as a reflection.

- shankar October 26, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

i replied da same!! but its not right itseems..!!

- einstein.goli October 26, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Because everybody laugh. If one of them doesn't have it, then 2 of them shouldn't laugh.

- appscan October 27, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Guys, he just pauses and sees if someone is laughing at him or not....
Isn't it so obvious???

- IIT November 11, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

He could ask them of course (if there is a smiley or not)! ;)

- Aravindh November 11, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

apart from the smart person there are two other ppl. First among them laughs at both of the others. So the smart person is able to see that the first guy is laughing at second person with a smiley and at him also. He is able the smiley on the second guy s face. So ne concludes thers are smiley on his face also

- Vijayanand November 13, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Let the smart person be p1,others are p2,p3
P2,p3 might have started laughing only after seeing p1.p1 might have started laughing only after seeing both p2 and p3 and also realises that he has also smily as the other two started laughing seeing him. Now p2 and p3 also look at each other.p2 thinks that p3 is laughing seeing p1 smily and p1 is laughing seeing p3 smily.similarly p3 also thinks.

- Satish November 21, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Let the smart person be p1,others are p2,p3
P2,p3 might have started laughing only after seeing p1.p1 might have started laughing only after seeing both p2 and p3 and also realises that he has also smily as the other two started laughing seeing him. Now p2 and p3 also look at each other.p2 thinks that p3 is laughing seeing p1 smily and p1 is laughing seeing p3 smily.similarly p3 also thinks.

- Satish November 21, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

WATS THIS DUDE
CANT P1 THINK THAT P2 IS LAUGHUNG AT P3 AND P3 AT P2
..
PLEASE ANSWER AFTER ANALYSING

- shreyans June 26, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

LOL..

- ABCD March 08, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 2 vote

****draws a smiley face on the forehead of all three and leaves***
the 4th person draws not only on the forehead of all 3 but also the 'leaves'(plural of leaf) of the tree!!!! n the smart one notices the leaves...may b daz d ans wen we think out of the box..:-)

- ABCD March 08, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

if he can see leaves,he can see others faces as well,no much concern :P

- Anonymous August 24, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

The smart one erases his forehead, presuming that there might be something on his forehead too. Then others being toooo dumb, stop looking and at and laughing. Now they just laugh at each other. Then the smart one knows that he too had a smiley on his forehead

- s March 19, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

because he is smart.....

- chandu October 15, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

lets take p1, p2 & p3 as 3 persons. Suppose p2 is the one who realizes that he too had a smiley on his forehead. how? ->
if p2 doesn't have, then p1 would have easily realized that p3 is laughing at him and p3 would have easily realized that p1 is laughing at him. Since both did not realize that means p2 also has a smiley on his forehead.

- ram January 13, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Exploring possible causes and effects would help understand the problem;

Cause 1: If no one had any smiley on their forehead.
Effect 1: No noticeable change in behavior, they continue their journey.

Cause 2: If only 1 guy had a smiley on his forehead.
Effect 2: Remaining 2 guys would laugh at that 1 guy and that 1 guy would have no clue!

Cause 3: If 2 guys had smileys on their foreheads.
Effect 3: The guy without a smiley would smile looking at the other 2. However, the 2 with smileys would each smile looking at the other with smiley on forehead BUT frown looking at the guy without smiley (or any similar doubtful behavior but no way a smile as there is nothing to smile at), instead of all 3 "start smiling at each other checking out smiley faces" as described in the question.

Cause 4: If all 3 guys had a smiley on their forehead.
Effect 4: All 3 would start smiling looking at each other, checking out the smiley faces, and no one would be frowned upon suspiciously as there would be nobody without a smiley face.

Out of the above effects, effect-4 is clearly defined in the question, and the smart guy would be the one to notice that only cause-4 could have lead to that effect.

- Anubhaw.Shrivastav May 30, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Smart one realises because a person can not be able to draw smiley on his forehead without any mirror.

- atinesh922 August 17, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 1 vote

1. Reserve 3 bits for the count of payload bits, thus allowing numbers 0-7;
2. Use the rest of the 5 bits in the <char> to transfer the payload;
This solution enables transferring 5 different combinations in a single char,
as well as communicating the actual size of the payload.

- ashot madatyan February 03, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

chutye pehle question padh

- ashok madatyan June 09, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

HEHE....

- shreyans June 26, 2012 | Flag


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More