Juniper Networks interview experience Real time questions & tips from candidates to crack your interview
Software Engineer
Juniper Networks
1 rounds | 3 Coding problems
Interview preparation journey
Preparation
Duration: 4 months
Topics: Data Structures, Algorithms, OS, Networking, Aptitude, OOPS
Tip

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application process
Where: Campus
Eligibility: Above 7 CGPA
Resume tip

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Interview rounds
01
Round
Easy
Face to Face
Duration40 minutes
Interview date12 Dec 2016
Problems3

Technical round with questions based on DSA.

1. Reverse a number

#### Note : If a number has trailing zeros, then its...

View more
Problem approach

To reverse a number following steps should be performed:
Take the numberâ€™s modulo by 10
Multiply the reverse number by 10 and add modulo value into the reverse number.
Divide the number by 10.
Repeat above steps until number becomes zero.

Pseudocode :
reverse(n){

rev = 0; // reversed number
rem; // initialise a variable to store remainder

while(n>0){

View more

#### Example:

View more
Problem approach

This can be solved both: recursively and iteratively.
The recursive approach is more intuitive. First reverse all the nodes after head. Then we need to set head to be the final node in the reversed list. We simply set its next node in the original list (head -> next) to point to it and sets its next to NULL. The recursive approach has a O(N) time complexity and auxiliary space complexity....

View more
3. Conceptual Question

What's the difference in C++ between "new int[5]" and "malloc(5 * sizeof(int))"?

Problem approach

First, new int[5] must be freed using delete[], and malloc(...) must be freed using free. You cannot mix and match.
Second, if you use a type with a constructor then malloc will not call the constructor, and free will not call the destructor. You have to call them manually (or just use new/free).

Start a Discussion
Similar interview experiences
Software Engineer Intern
4 rounds | 7 problems
Interviewed by Juniper Networks
1309 views
Staff Engineer
2 rounds | 5 problems
Interviewed by Juniper Networks
694 views
SDE - 1
6 rounds | 7 problems
Interviewed by Juniper Networks
633 views
SDE - 1
2 rounds | 3 problems
Interviewed by Samsung
324 views
Companies with similar interview experiences
Software Engineer
2 rounds | 2 problems
Interviewed by Wipro Limited
877 views