Cisco Senior coding interview questions
These are the 6 coding questions YourAlly has tagged for Cisco at Senior. On the YourAlly ladder this is Senior, the same level as Google L5, Meta E5 and Amazon L6.
A coding round at a large tech company usually runs 45 to 60 minutes with one or two problems. You write code that runs, test it on your own examples and state its time and space cost. At this level the bar is a correct, tested solution you reach mostly on your own, with the trade-offs said out loud.
Practice a mock Cisco Senior coding loopPractice Cisco coding questions
Admit Bandwidth ReservationsFree to read
A link has a fixed capacity. Reservation requests [start, end, bandwidth] arrive in order and cover the half-open time range [start, end). Accept a request only if, at every moment in its range, already accepted bandwidth plus its own stays within capacity. Return the indices of accepted requests.
Input: requests = [[0, 10, 6], [5, 15, 5], [10, 20, 4], [0, 5, 4]], capacity = 10 Output: [0, 2, 3]
What a strong answer covers
- Identifies range-max plus range-add as the core operations
- Compresses coordinates and maps half-open ranges correctly
- Implements a lazy segment tree in O(log n) per operation
- Leaves rejected requests out of the tree
- Compares against an O(n^2) sweep
5 more coding questions
- Find Shadowed ACL Rules Locked
- Longest Prefix Match Forwarding Locked
- Network Segments After Link Failures Locked
- Reorder Buffer Release Counts Locked
- Widest Path With Lowest Latency Locked
Related pages
More Cisco Senior rounds
- System design 4 questions
- Behavioral 5 questions
Cisco coding at other levels
- Staff 3 questions
- Senior staff 3 questions
Other companies at this level
- Adobe Senior 7 questions
- Airbnb Senior 4 questions
- Amazon L6 10 questions
- Anthropic Senior 6 questions
- Apple Senior 7 questions
- Google L5 14 questions