The first round was on hackerrank platform. It consisted of 30MCQ’s and 3 coding questions. The MCQ’s consisted of a mixture of aptitude and technical questions. The three coding questions were:
RGB values were provided for 5 colors in a table format. The input will be an array of strings. Each string has 24 binary digits. We were supposed to convert the string into RGB values and calculate the minumum distance from given colours using the following formula
d = sqrt((r1-r2)^2+(b1-b2)^2+(g1-g2)^2))
If 110111011010101000111110 is a string then 11011101 is R and 10101010 is G and 00111110 is B. We need to print the color with minumum d. If there are many colours with the same minumum d then print “ambiguous”.
The second question was a variation of the famous n-queens problem. The board with it’s queen positions was already given. We have to print the queen position which collides with maximum number of other queens. It was very similar to this:
The third question was based on dynamic programming:
ROUND 2:(Technical Interview)
Explain the functions of each layer in OSI model.
Difference between a switch and a hub. What makes a switch have extra capability over a hub.
Explanation of some of my projects. I was asked to write part of codes in the projects I have done.
Explanation about the list of achievements and cross questions on it.
ROUND 3(Technical Interview)
Explain Binary tree and Binary search tree. How will you identify if the given tree is binary search tree.
Reversal of a linked list by changing the pointer links.
Difference between a process and a thread.
Puzzle: A bag contains 5 pairs of white socks and 5 pairs of black socks. What is the maximum number of attempts you need to make in order to get a pair of socks. (Answer is 3)
Puzzle: In a dark room there are 40 coins with heads up and 10 coins with tails up. You need to divide the tails into 2 groups of equal coins.
A few questions on my projects.
ROUND 4(HR Interview)
Tell me about yourself.
What is the thing that you enjoyed the most in college life?
What did you not enjoy in college life?
Short term and long term goals
This article is contributed by Samrakshini
- Juniper Interview Experience | Set 2 (On-Campus for Internship)
- Juniper Networks Interview Experience For Internship On Campus
- Juniper Interview Experience | Set 3 (On-Campus)
- Juniper Networks Interview Experience | Set 4 (On Campus)
- Juniper Networks Interview Experience | On-Campus
- Juniper Networks Interview Experience
- Juniper Interview Experience | Set 5 (For SDE111)
- Juniper Interview Experience
- Juniper Networks Recruitment Process
- Microsoft Internship Experience | Off-Campus Internship (Hyderabad)
- TIAA Internship Experience - Pool campus for Internship
- Microsoft Interview | Set 20 (On-campus for Internship)
- Amazon Interview | Set 46 (On-campus for Internship)
- Microsoft Interview | Set 25 (On-campus for Internship)
- Amazon Interview | Set 70 (On-Campus For Internship)
- Amazon Interview | Set 96 (On-Campus for Internship)
- D E Shaw Interview | Set 4 (On-Campus for Internship)
- Amazon Interview | Set 106 (On Campus for Internship)
- D E Shaw Interview | Set 5 (On-Campus for Internship)
- Amazon Interview | Set 113 (On-Campus for Internship)
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.