0 day streak

Juniper Networks coding interview questions

Product India

Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.

0%ready
Your level: practise every reported question.
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Number of 1 BitsTricks to remember Easy Bit Manipulation Amazon, Apple, Box +9 Solve
Reverse Linked ListFront Middle Back Pointer Easy Linked List Microsoft, Apple, Bloomberg +81 Solve
Linked List CycleSlow Fast Pointers Easy Linked List Microsoft, Apple, Nvidia +67 Solve
Middle of the Linked ListSlow Fast Pointers Easy Linked List Apple, Nvidia, X (Twitter) +29 Solve
Merge Sorted ArrayTwo Pointer Easy Arrays & Hashing Meta, Apple, Nvidia +40 Solve
Next PermutationRight to Left Traversal Medium Arrays & Hashing Google, Amazon, Microsoft +31 Solve
Convert Binary Number in a Linked List to IntegerBasics Easy Bit Manipulation Nutanix, Arista Networks, Workday +3 Solve
Valid ParenthesesStack Basics Easy Stack Google, Amazon, Microsoft +119 Solve
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +135 Solve
Palindrome Linked ListFront Middle Back Pointer Easy Linked List Meta, Spotify, Grab +14 Solve
Power of TwoTricks to remember Easy Bit Manipulation Nvidia, Snap, Qualcomm +7 Solve
Balanced Binary TreePostorder + Multiple Return Values Easy Trees & BST Netflix, Anduril, BlackRock +3 Solve
Maximum Depth of Binary TreeRecursion Easy Trees & BST LinkedIn, Spotify, Tesla +19 Solve
Array LeadersRight to Left Traversal Easy Arrays & Hashing Cadence Design Systems, KLA, Accenture Solve
Rotate ArrayDouble Reversal Trick Medium Arrays & Hashing Apple, Bloomberg, Nutanix +30 Solve
Reverse Words in a StringDouble Reversal Trick Medium Arrays & Hashing Microsoft, Nvidia, Snap +38 Solve
Sort ListMiscellaneous Medium Linked List Amazon, Microsoft, Lyft +5 Solve
Partition ListMiscellaneous Medium Linked List Dream11 Solve
Find All Duplicates in an ArrayIn-place Transformations Medium Arrays & Hashing Bloomberg, Lowe's, JPMorgan Chase +9 Solve
Combination Sum (repeating elements)Pick / Not-Pick Medium Recursion & Backtracking Airbnb, Pinterest, Snap +20 Solve
N-Queens2D Matrix Hard Recursion & Backtracking Netflix, TikTok (ByteDance), Elastic +17 Solve
Second Largest Element in an ArraySorting Easy Arrays & Hashing Nutanix, Rakuten, Morgan Stanley +13 Solve
Also reported, being added to AlgoRung (13)

N-th Tribonacci Number · Bellman-Ford shortest paths · Rectangle Area · Insert a node into a binary tree · Multiply two numbers without the multiplication operator · Set, clear and toggle a bit at a given position · Swap the byte order of a 32-bit value · Shortest path between routers with Dijkstra's algorithm · Print odd and even numbers alternately with two threads · Quick Sort · Bubble Sort · Insertion Sort · Merge two sorted arrays without extra space

Questions people ask

What coding questions does Juniper Networks ask most?

Number of 1 Bits, Reverse Linked List, Linked List Cycle, Middle of the Linked List, Merge Sorted Array, Next Permutation, Convert Binary Number in a Linked List to Integer, Valid Parentheses.

Which topics come up in Juniper Networks coding rounds?

linked list, bit manipulation, arrays, trees, strings, graphs.

How hard are Juniper Networks coding questions?

Of the reported questions, 14 are easy, 7 medium and 1 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.