Cisco SDE-3 coding interview questions
These are the 6 coding questions YourAlly has tagged for Cisco at SDE-3. SDE-3 is the common India title for this level. YourAlly treats it as 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 SDE-3 coding loopPractice Cisco coding questions
Find Shadowed ACL RulesFree to read
An access list is evaluated top to bottom and each rule matches an inclusive destination port range [lo, hi]. A rule is shadowed if every port it matches is already matched by some earlier rule. Return the indices of shadowed rules in ascending order.
Input: rules = [[20, 30], [25, 28], [10, 19], [10, 30], [31, 40]] Output: [1, 3]
What a strong answer covers
- Recognizes coverage can come from several earlier rules
- Uses the bounded port space for a next-uncovered-port union-find
- Marks each port covered at most once and skips covered stretches with find
- Handles touching ranges without special cases
- Explains why list splicing degrades to O(n^2) and states an honest bound
5 more coding questions
- Admit Bandwidth Reservations 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 SDE-3 rounds
- System design 4 questions
- Behavioral 5 questions
Cisco coding at other levels
- Principal 3 questions
- Senior Principal 3 questions
Other companies at this level
- Adobe SDE-3 7 questions
- Amazon SDE-3 10 questions
- Apple SDE-3 7 questions
- Google SDE-3 14 questions
- IBM SDE-3 6 questions
- Intel SDE-3 6 questions